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 80b45b0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,6 @@ const message = {
createBackupAccount: 'Add {0}',
noTypeForCreate: 'No backup type is currently created',
LOCAL: 'Server disks',
currentPath: 'Current path',
OSS: 'Ali OSS',
S3: 'Amazon S3',
MINIO: 'MINIO',
Expand Down
1 change: 0 additions & 1 deletion frontend/src/lang/modules/tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,6 @@ const message = {
createBackupAccount: '添 {0}',
noTypeForCreate: '當前無可創建備份類型',
LOCAL: '服務器磁盤',
currentPath: '當前路徑',
OSS: '阿裏雲 OSS',
S3: '亞馬遜 S3 雲存儲',
MINIO: 'MINIO',
Expand Down
1 change: 0 additions & 1 deletion frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,6 @@ const message = {
createBackupAccount: '添 {0}',
noTypeForCreate: '当前无可创建备份类型',
LOCAL: '服务器磁盘',
currentPath: '当前路径',
OSS: '阿里云 OSS',
S3: '亚马逊 S3 云存储',
MINIO: 'MINIO',
Expand Down
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
2 changes: 1 addition & 1 deletion frontend/src/views/setting/backup-account/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>
<el-divider class="divider" />
<div style="margin-left: 20px">
<el-form-item :label="$t('setting.currentPath')">
<el-form-item :label="$t('setting.backupDir')">
{{ localData.varsJson['dir'] }}
</el-form-item>
<el-form-item :label="$t('commons.table.createdAt')">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/setting/backup-account/local/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<el-tag>{{ $t('setting.' + dialogData.rowData!.type) }}</el-tag>
</el-form-item>
<el-form-item
:label="$t('setting.currentPath')"
:label="$t('setting.backupDir')"
prop="varsJson['dir']"
:rules="Rules.requiredInput"
>
Expand Down

0 comments on commit 80b45b0

Please sign in to comment.