Files
mealie/frontend/components/global/AppToolbar.vue
2026-03-23 20:18:25 +00:00

32 lines
480 B
Vue

<template>
<v-toolbar
color="transparent"
flat
>
<BaseButton
color="null"
rounded
secondary
@click="$router.go(-1)"
>
<template #icon>
{{ $globals.icons.arrowLeftBold }}
</template>
{{ $t('general.back') }}
</BaseButton>
<slot />
</v-toolbar>
</template>
<script setup lang="ts">
defineProps({
back: {
type: Boolean,
default: false,
},
});
</script>
<style lang="scss" scoped>
</style>