Skip to content

Commit f62345a

Browse files
joshuali925github-actions[bot]
authored andcommitted
Fix delete failure when no osd item selected (#452)
Signed-off-by: Joshua Li <joshuali925@gmail.com> (cherry picked from commit a4a310e) (cherry picked from commit 324939f)
1 parent 294a179 commit f62345a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/services/saved_objects/saved_object_client/saved_objects_actions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class SavedObjectsActions {
103103

104104
const remainingObjectIds = [
105105
...new Set(
106-
idMap.non_osd.concat(
106+
idMap.non_osd?.concat(
107107
Object.entries(responses.deleteResponseList)
108108
.filter(([_, status]) => status !== 'OK')
109109
.map(([id, _]) => id)

0 commit comments

Comments
 (0)