mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-17 21:08:25 +08:00
fix: Fix port forwarding initialization status judgment issue (#11276)
Refs #11267
This commit is contained in:
parent
9aa3caab16
commit
307029272e
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
{{ $t('commons.button.restart') }}
|
{{ $t('commons.button.restart') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="!baseInfo.isInit">
|
<template v-if="!baseInfo.isInit || (props.currentTab === 'forward' && !baseInfo.isBind)">
|
||||||
<el-divider direction="vertical" />
|
<el-divider direction="vertical" />
|
||||||
<el-button type="primary" link @click="onInit">
|
<el-button type="primary" link @click="onInit">
|
||||||
{{ $t('commons.button.init') }}
|
{{ $t('commons.button.init') }}
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
ref="dockerRef"
|
ref="dockerRef"
|
||||||
v-model:withDockerRestart="withDockerRestart"
|
v-model:withDockerRestart="withDockerRestart"
|
||||||
@submit="onSubmit"
|
@submit="onSubmit"
|
||||||
:title="$t('firewall.firewallHelper', [i18n.global.t('commons.button.' + operation)])"
|
:title="$t('firewall.firewallHelper', [$t('commons.button.' + operation)])"
|
||||||
>
|
>
|
||||||
<template #helper>
|
<template #helper>
|
||||||
<span>{{ $t('firewall.' + operation + 'FirewallHelper') }}</span>
|
<span>{{ $t('firewall.' + operation + 'FirewallHelper') }}</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue