Instance closed icon

This commit is contained in:
Natsumi
2025-10-01 11:11:42 +13:00
parent eb17c32a3a
commit 533846ded7
4 changed files with 73 additions and 24 deletions

View File

@@ -8,7 +8,7 @@
/></span>
<template v-if="state.canCloseInstance">
<el-button
:disabled="props.instance.closedAt"
:disabled="!!props.instance.closedAt"
size="small"
type="primary"
@click="closeInstance(props.location)">
@@ -49,12 +49,6 @@
style="margin-left: 5px; color: lightcoral"
>{{ t('dialog.user.info.instance_full') }}</span
>
<span v-if="props.instance.hardClose" style="margin-left: 5px; color: lightcoral">{{
t('dialog.user.info.instance_hard_closed')
}}</span>
<span v-else-if="props.instance.closedAt" style="margin-left: 5px; color: lightcoral">{{
t('dialog.user.info.instance_closed')
}}</span>
<span v-if="props.instance.queueSize" style="margin-left: 5px"
>{{ t('dialog.user.info.instance_queue') }} {{ props.instance.queueSize }}</span
>