Skip to content

Commit

Permalink
Fix delete failure when no osd item selected (#452)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <[email protected]>
(cherry picked from commit a4a310e)
  • Loading branch information
joshuali925 authored May 5, 2023
1 parent 2d2ce04 commit 324939f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class SavedObjectsActions {

const remainingObjectIds = [
...new Set(
idMap.non_osd.concat(
idMap.non_osd?.concat(
Object.entries(responses.deleteResponseList)
.filter(([_, status]) => status !== 'OK')
.map(([id, _]) => id)
Expand Down

0 comments on commit 324939f

Please sign in to comment.