ADD webtop switch to superuser image page
@@ -117,7 +117,7 @@ export default function IDEImages() {
if (image.id === iid) {
for (const tag of image.tags) {
if (tag.id === id) {
- image[field] = v;
+ tag[field] = v;
break;
}
}
@@ -251,6 +251,16 @@ export default function IDEImages() {
/>
</Grid>
+ <Grid item xs={12}>
+ <FormControlLabel
+ checked={!!editOpen?.webtop}
+ onChange={() => updateImageOpen(editOpen?.id, 'webtop', !editOpen?.webtop)}
+ labelPlacement={'end'}
+ control={<Switch color={'primary'}/>}
+ label={'webtop'}
+ />
+ </Grid>
+
<Grid item xs={12}>
<FormControlLabel
checked={!!editOpen?.public}
