fix: fix delete image info

This commit is contained in:
guoyuqi
2026-11-19 16:46:32 +08:00
parent 7120faad76
commit aae2cfed3c
+1 -1
View File
@@ -307,7 +307,7 @@ const onDelete = (row: Container.ImageInfo) => {
names.value = [row.id.replaceAll('sha256:', '').substring(0, 12)];
opRef.value.acceptParams({
title: i18n.global.t('commons.button.delete'),
names: names.value,
names: row.tags?.length ? row.tags : names.value,
msg: i18n.global.t('commons.msg.operatorHelper', [
i18n.global.t('container.image'),
i18n.global.t('commons.button.delete'),