Skip to content

Commit

Permalink
Merge pull request #609 from dodona-edu/fix/navigation-drawer-gone
Browse files Browse the repository at this point in the history
Fix navigation drawer being hidden on desktop
  • Loading branch information
rien authored Aug 19, 2021
2 parents 113c702 + a0b91d1 commit 3a85103
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ import { Vue, Component } from "vue-property-decorator";
@Component({})
export default class App extends Vue {
drawerEnabled = false;
drawerEnabled = true;
created(): void {
this.drawerEnabled = !this.$vuetify.breakpoint.mobile;
}
navigateTo(route: string): void {
if (this.$router.currentRoute.path !== route) {
Expand Down

0 comments on commit 3a85103

Please sign in to comment.