mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 08:27:46 +08:00
22 lines
425 B
Vue
22 lines
425 B
Vue
<template>
|
|||
|
|
<div
|
||
|
|
v-if="result"
|
||
|
|
class="rounded-xl border bg-muted/20 px-3 py-2 text-xs text-muted-foreground"
|
||
|
|
>
|
||
|
|
{{ label }}
|
||
|
|
<span v-if="failuresLabel">
|
||
|
|
{{ failuresLabel }}
|
||
|
|
</span>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup lang="ts">
|
||
|
|
import type { UserBatchActionResponse } from '@/api/users'
|
||
|
|
|
||
|
|
defineProps<{
|
||
|
|
result: UserBatchActionResponse | null
|
||
|
|
label: string
|
||
|
|
failuresLabel: string
|
||
|
|
}>()
|
||
|
|
</script>
|