adminforth 2.4.0-next.236 → 2.4.0-next.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
<div class="flex flex-col items-center justify-center">
|
|
35
35
|
{{toast.message}}
|
|
36
36
|
<div v-if="toast.buttons" class="flex justify-center mt-2 gap-2">
|
|
37
|
-
<div v-for="button in toast.buttons"
|
|
38
|
-
<
|
|
37
|
+
<div v-for="button in toast.buttons">
|
|
38
|
+
<Button @click="onButtonClick(button.value)" class="!px-2 py-0 text-md font-normal rounded-md">
|
|
39
39
|
{{ button.label }}
|
|
40
|
-
</
|
|
40
|
+
</Button>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
<script setup lang="ts">
|
|
56
56
|
import { onMounted } from 'vue';
|
|
57
57
|
import { useToastStore } from '@/stores/toast';
|
|
58
|
+
import { Button } from '@/afcl';
|
|
58
59
|
const toastStore = useToastStore();
|
|
59
60
|
const emit = defineEmits(['close']);
|
|
60
61
|
const props = defineProps<{
|