mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-23 08:00:55 +00:00
fix: Fix port forwarding initialization status judgment issue (#11276)
Refs #11267
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
{{ $t('commons.button.restart') }}
|
||||
</el-button>
|
||||
</template>
|
||||
<template v-if="!baseInfo.isInit">
|
||||
<template v-if="!baseInfo.isInit || (props.currentTab === 'forward' && !baseInfo.isBind)">
|
||||
<el-divider direction="vertical" />
|
||||
<el-button type="primary" link @click="onInit">
|
||||
{{ $t('commons.button.init') }}
|
||||
@@ -71,7 +71,7 @@
|
||||
ref="dockerRef"
|
||||
v-model:withDockerRestart="withDockerRestart"
|
||||
@submit="onSubmit"
|
||||
:title="$t('firewall.firewallHelper', [i18n.global.t('commons.button.' + operation)])"
|
||||
:title="$t('firewall.firewallHelper', [$t('commons.button.' + operation)])"
|
||||
>
|
||||
<template #helper>
|
||||
<span>{{ $t('firewall.' + operation + 'FirewallHelper') }}</span>
|
||||
|
||||
Reference in New Issue
Block a user