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