Skip to content

Commit

Permalink
Fix delete failure when no osd item selected (#452) (#453)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <joshuali925@gmail.com>
(cherry picked from commit a4a310e)
(cherry picked from commit 324939f)

Co-authored-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
1 parent 294a179 commit 2b7c21a
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 2b7c21a

Please sign in to comment.