diff --git a/platypush/backend/http/webapp/src/components/Nav.vue b/platypush/backend/http/webapp/src/components/Nav.vue index 3a551ed2a..92531e2f7 100644 --- a/platypush/backend/http/webapp/src/components/Nav.vue +++ b/platypush/backend/http/webapp/src/components/Nav.vue @@ -90,11 +90,6 @@ export default { host: null, } }, - - mounted() { - if (this.isMobile() && !this.$root.$route.hash.length) - this.collapsed = false - }, } diff --git a/platypush/backend/http/webapp/src/views/Panel.vue b/platypush/backend/http/webapp/src/views/Panel.vue index 78a6cdbe5..56a72e7ff 100644 --- a/platypush/backend/http/webapp/src/views/Panel.vue +++ b/platypush/backend/http/webapp/src/views/Panel.vue @@ -45,10 +45,7 @@ export default { methods: { initSelectedPanel() { const match = this.$route.hash.match('#?([a-zA-Z0-9.]+)[?]?(.*)') - if (!match) - return - - const plugin = match[1] + const plugin = match ? match[1] : 'entities' if (plugin?.length) this.selectedPanel = plugin }, @@ -113,7 +110,7 @@ main { height: 100%; display: flex; - @media screen and (max-width: $tablet) { + @include until($tablet) { flex-direction: column; }