1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-25 16:19:43 +02:00

dev-feature/analyze-bundle (#529)

* add bundle analyzer

* use svg icons - closes #522

* fix recent recipes icon

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden 2021-06-16 18:55:32 -08:00 committed by GitHub
parent d475818a9f
commit ee1a11ea57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 588 additions and 248 deletions

View file

@ -4,7 +4,7 @@
:title="$t('recipe.delete-recipe')"
:message="$t('recipe.delete-confirmation')"
color="error"
icon="mdi-alert-circle"
:icon="$globals.icons.alertCircle"
ref="deleteRecipieConfirm"
v-on:confirm="deleteRecipe()"
/>
@ -21,7 +21,7 @@
>
<template v-slot:activator="{ on, attrs }">
<v-btn :fab="fab" :small="fab" :color="color" :icon="!fab" dark v-bind="attrs" v-on="on" @click.prevent>
<v-icon>{{ menuIcon }}</v-icon>
<v-icon>{{ effMenuIcon }}</v-icon>
</v-btn>
</template>
<v-list dense>
@ -65,7 +65,7 @@ export default {
type: String,
},
menuIcon: {
default: "mdi-dots-vertical",
default: null,
},
name: {
type: String,
@ -76,6 +76,9 @@ export default {
},
},
computed: {
effMenuIcon() {
return this.menuIcon ? this.menuIcon : this.$globals.icons.dotsVertical;
},
loggedIn() {
return this.$store.getters.getIsLoggedIn;
},
@ -89,13 +92,13 @@ export default {
return [
{
title: this.$t("general.print"),
icon: "mdi-printer",
icon: this.$globals.icons.printer,
color: "accent",
action: "print",
},
{
title: this.$t("general.share"),
icon: "mdi-share-variant",
icon: this.$globals.icons.shareVariant,
color: "accent",
action: "share",
},