This commit is contained in:
syuilo 2024-09-24 17:52:14 +09:00
parent 423bfc8798
commit ca967e83bd

View file

@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
-->
<template>
<MkFolder>
<MkFolder>
<template #label>{{ entity.name || entity.url }}</template>
<template #icon>
<i v-if="!entity.isActive" class="ti ti-player-pause"/>
@ -20,12 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkTime v-if="entity.latestSentAt" :time="entity.latestSentAt" style="margin-right: 8px"/>
<span v-else>-</span>
</template>
<div class="_gaps">
<MkKeyValue>
<template #key>latestStatus</template>
<template #value>{{ entity.latestStatus ?? '-' }}</template>
</MkKeyValue>
<template #footer>
<div class="_buttons">
<MkButton @click="onEditClick">
<i class="ti ti-settings"></i> {{ i18n.ts.edit }}
@ -34,8 +29,15 @@ SPDX-License-Identifier: AGPL-3.0-only
<i class="ti ti-trash"></i> {{ i18n.ts.delete }}
</MkButton>
</div>
</template>
<div class="_gaps">
<MkKeyValue>
<template #key>latestStatus</template>
<template #value>{{ entity.latestStatus ?? '-' }}</template>
</MkKeyValue>
</div>
</MkFolder>
</MkFolder>
</template>
<script lang="ts" setup>