Skip to content

Commit 48e5ba2

Browse files
joshuali925TackAdam
authored andcommitted
Fix delete failure when no osd item selected (#452)
Signed-off-by: Joshua Li <joshuali925@gmail.com> (cherry picked from commit a4a310e) Signed-off-by: TackAdam <navytackett@hotmail.com>
1 parent 2d2ce04 commit 48e5ba2

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)