fix: Modify label names to make them consistent

fix 'restart policy' to 'exit policy' in detail page to match the creation process

Change-Id: I4740c377107a4e8687667c3e24578e1f7846aaba
This commit is contained in:
xusongfu 2023-02-03 14:28:14 +08:00
parent c5953f174a
commit 5a45f54df3
4 changed files with 2 additions and 4 deletions

View File

@ -1982,7 +1982,6 @@
"Restart": "Restart",
"Restart Container": "Restart Container",
"Restart Database Service": "Restart Database Service",
"Restart Policy": "Restart Policy",
"Restarting": "Restarting",
"Restore Backup": "Restore Backup",
"Restore From Snapshot": "Restore From Snapshot",

View File

@ -1982,7 +1982,6 @@
"Restart": "重启",
"Restart Container": "重启容器",
"Restart Database Service": "重启数据库服务",
"Restart Policy": "重启策略",
"Restarting": "重启中",
"Restore Backup": "恢复备份",
"Restore From Snapshot": "从快照恢复",

View File

@ -91,7 +91,7 @@ export class BaseDetail extends Base {
dataIndex: 'memory',
},
{
label: t('Restart Policy'),
label: t('Exit Policy'),
dataIndex: 'restart_policy',
},
{

View File

@ -139,7 +139,7 @@ export class BaseDetail extends Base {
dataIndex: 'disk',
},
{
label: t('Restart Policy'),
label: t('Exit Policy'),
dataIndex: 'restart_policy',
render: (value) => {
if (isEmpty(value)) {