Fixup another vue type check
This commit is contained in:
@@ -107,7 +107,7 @@ onMounted(async () => {
|
||||
<label>{{ $t('app.uninstall.startStop.title') }}</label>
|
||||
<p>{{ $t('app.uninstall.startStop.description') }}</p>
|
||||
<Button @click="onToggleRunState()"
|
||||
:disabled="toggleRunStateBusy || app.taskId || (app.error && (app.error.details.installationState !== 'pending_start' && app.error.details.installationState !== 'pending_stop')) || app.installationState === 'pending_start' || app.installationState === 'pending_stop'"
|
||||
:disabled="toggleRunStateBusy || !!app.taskId || (app.error && (app.error.details.installationState !== 'pending_start' && app.error.details.installationState !== 'pending_stop')) || app.installationState === 'pending_start' || app.installationState === 'pending_stop'"
|
||||
:loading="toggleRunStateBusy || app.installationState === 'pending_start' || app.installationState === 'pending_stop'"
|
||||
>
|
||||
{{ $t(targetRunState() === TARGET_RUN_STATE.START ? 'app.uninstall.startStop.startAction' : 'app.uninstall.startStop.stopAction') }}
|
||||
|
||||
Reference in New Issue
Block a user