Skip to content

Commit

Permalink
keep the enabled/disabled status after editing the custom notebook im…
Browse files Browse the repository at this point in the history
…age (#1436)
  • Loading branch information
uidoyen authored Jun 28, 2023
1 parent e22f96e commit 61558a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/routes/api/images/imageUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export const updateImage = async (
);
}

if (typeof body.visible !== undefined) {
if (body.visible !== undefined) {
if (body.visible) {
imageStream.metadata.labels['opendatahub.io/notebook-image'] = 'true';
} else {
Expand Down

0 comments on commit 61558a1

Please sign in to comment.