generated from Flycro/laravel-nuxt
style: Change Star to Check
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -13,7 +13,7 @@ const { refresh: onClick, status } = useFetch<any>(`admin/add-total-votes-all`,
|
||||
async onResponse({ response }) {
|
||||
if (response.ok) {
|
||||
useToast().add({
|
||||
icon: 'i-heroicons-check-circle-20-solid',
|
||||
icon: 'i-heroicons-check-circle-solid',
|
||||
title: 'Es wurden allen Nutzern 2 Votes hinzugefügt.',
|
||||
color: 'emerald',
|
||||
})
|
||||
@@ -25,12 +25,12 @@ const { refresh: onClick, status } = useFetch<any>(`admin/add-total-votes-all`,
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UButton icon="i-heroicons-star" solid label="Nutzern Votes hinzufügen" @click="isOpen = true" />
|
||||
<UButton icon="i-heroicons-check-circle" solid label="Nutzern Votes hinzufügen" @click="isOpen = true" />
|
||||
<UDashboardModal
|
||||
v-model="isOpen"
|
||||
title="Votes hinzufügen"
|
||||
description="Bist du dir sicher das du jedem Benutzer 2 Votes geben möchtest?"
|
||||
icon="i-heroicons-star"
|
||||
icon="i-heroicons-check-circle"
|
||||
:ui="{
|
||||
icon: { base: 'text-primary dark:text-primary-400' } as any,
|
||||
footer: { base: 'ml-16' } as any,
|
||||
|
||||
Reference in New Issue
Block a user