diff --git a/ui/src/components/AppBar.vue b/ui/src/components/AppBar.vue index 53b4d30..aea2bb2 100644 --- a/ui/src/components/AppBar.vue +++ b/ui/src/components/AppBar.vue @@ -1,5 +1,10 @@ @@ -58,12 +79,28 @@ export default { "https://github.com/socketio/socket.io-admin-ui/releases/tag/" + version ); }, + + extensionHeight() { + switch (this.$vuetify.breakpoint.name) { + case "xs": + case "sm": + case "md": + return 96; + case "lg": + case "xl": + default: + return 0; + } + }, }, methods: { onUpdate() { this.$emit("update"); }, + toggleNavigationDrawer() { + this.$store.commit("config/toggleNavigationDrawer"); + }, }, }; diff --git a/ui/src/components/NavigationDrawer.vue b/ui/src/components/NavigationDrawer.vue index e10bf03..560f0c6 100644 --- a/ui/src/components/NavigationDrawer.vue +++ b/ui/src/components/NavigationDrawer.vue @@ -1,5 +1,10 @@