Skip to content

Commit 708499a

Browse files
feat: fix issue with build frontend failed (#8994)
1 parent bdeb842 commit 708499a

File tree

1 file changed

+3
-4
lines changed
  • frontend/src/views/container/image/prune

1 file changed

+3
-4
lines changed

frontend/src/views/container/image/prune/index.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ const acceptParams = async (): Promise<void> => {
7070
unUsedList.value = [];
7171
for (const item of list) {
7272
if (
73-
(
74-
!item.tags ||
73+
(!item.tags ||
7574
item.tags.length === 0 ||
76-
(item.tags.length === 1 && item.tags[0].indexOf('<none>') !== -1)
77-
) && !item.isUsed
75+
(item.tags.length === 1 && item.tags[0].indexOf('<none>') !== -1)) &&
76+
!item.isUsed
7877
) {
7978
unTagList.value.push(item);
8079
}

0 commit comments

Comments
 (0)