Skip to content

Commit

Permalink
fix: 解决容器镜像清理的显示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu committed Feb 26, 2024
1 parent f0d5aca commit 554f8f5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions frontend/src/views/container/image/prune/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@
</span>
<div v-if="!withTagAll">
<ul v-for="(item, index) in unTagList" :key="index">
<li>
{{ item.tags[0] || '< none >' }}
<li v-if="item.tags">
{{ item.tags[0] }}
</li>
<li v-else>
{{ item.id.replaceAll('sha256:', '').substring(0, 12) }}
</li>
</ul>
</div>
Expand Down

0 comments on commit 554f8f5

Please sign in to comment.