Skip to content
Snippets Groups Projects
Commit db71ee17 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

fix about page back button on mobile devices

parent 66bd506c
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,9 @@
<v-divider vertical/>
</v-toolbar-items>
<v-toolbar-items v-if="$vuetify.breakpoint.mobile">
<v-divider vertical/>
<v-dialog max-width="1200" width="1200" v-model="menuDialog" hide-overlay :fullscreen="$vuetify.breakpoint.mobile"
<v-divider vertical/>
<v-btn text @click="toggleAbout" v-if="$route.name == 'about'"><v-icon left>chevron_left</v-icon>{{$t("back")}}</v-btn>
<v-dialog v-if="$route.name != 'about'" max-width="1200" width="1200" v-model="menuDialog" hide-overlay :fullscreen="$vuetify.breakpoint.mobile"
:close-on-content-click="false" transition="dialog-top-transition">
<template v-slot:activator="{ on, attrs }">
<v-btn text v-bind="attrs" v-on="on">
......
......@@ -29,6 +29,8 @@
},
"close": "Lukk",
"choose": "Velg",
"back": "Tilbake",
"back_to_results": "Tilbake til søkeresultater",
"pos": {
"ALL": "alle ordklasser",
"NOUN": "substantiv",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment