Skip to content

Commit

Permalink
Fix delete failure when no osd item selected
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 committed May 5, 2023
1 parent 294a179 commit a4a310e
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 a4a310e

Please sign in to comment.