TheButton global component (#425)

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-05-24 10:12:46 -08:00
committed by GitHub
parent fd1b54ae70
commit 034a21e203
23 changed files with 283 additions and 175 deletions

View File

@@ -72,10 +72,7 @@
</v-card-text>
<template v-slot:open="{ open }">
<v-btn color="success" @click="open">
<v-icon left> {{ $globals.icons.create }} </v-icon>
{{ $t("general.create") }}
</v-btn>
<TheButton create @click="open" />
</template>
</BaseDialog>
</v-card-actions>

View File

@@ -105,10 +105,7 @@
{{ $t("settings.webhooks.test-webhooks") }}
</v-btn>
<v-spacer></v-spacer>
<v-btn color="success" @click="saveGroupSettings">
<v-icon left> {{ $globals.icons.save }} </v-icon>
{{ $t("general.update") }}
</v-btn>
<TheButton update @click="saveGroupSettings" />
</v-card-actions>
</template>
</StatCard>

View File

@@ -73,10 +73,8 @@
</v-virtual-scroll>
<v-divider></v-divider>
<v-card-actions>
<v-spacer class="mx-2"></v-spacer>
<v-btn class="my-1 mb-n1" color="success" @click="createTheme">
<v-icon left> {{ $globals.icons.create }} </v-icon> {{ $t("general.create") }}
</v-btn>
<v-spacer></v-spacer>
<TheButton class="mt-1 mb-n1" create @click="createTheme" />
</v-card-actions>
</template>
</StatCard>

View File

@@ -89,10 +89,7 @@
file-name="profile_image"
/>
<v-spacer></v-spacer>
<v-btn color="success" @click="updateUser">
<v-icon left> {{ $globals.icons.save }} </v-icon>
{{ $t("general.update") }}
</v-btn>
<TheButton update @click="updateUser" />
</v-card-actions>
</template>
</StatCard>