Fixed: in production (with Android phone) -> click on menu doesn't work well
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -25,3 +25,4 @@ yarn-error.log*
|
|||||||
|
|
||||||
# Coverage
|
# Coverage
|
||||||
coverage
|
coverage
|
||||||
|
/_PROVE
|
||||||
|
|||||||
@@ -5,9 +5,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "tslint --project tsconfig.json",
|
"lint": "tslint --project tsconfig.json",
|
||||||
"lint:fix": "tslint --project tsconfig.json --fix",
|
"lint:fix": "tslint --project tsconfig.json --fix",
|
||||||
"dev": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev",
|
"dev": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m pwa",
|
||||||
"dev:ssr": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m ssr",
|
"dev:ssr": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m ssr",
|
||||||
"dev:pwa": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m pwa",
|
|
||||||
"pwa": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m pwa",
|
"pwa": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m pwa",
|
||||||
"test:unit": "jest",
|
"test:unit": "jest",
|
||||||
"test:cover": "jest --coverage",
|
"test:cover": "jest --coverage",
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<q-layout-header>
|
<q-layout-header v-model="header" :reveal="headerReveal">
|
||||||
<q-toolbar
|
<q-toolbar
|
||||||
color="primary"
|
color="primary"
|
||||||
:glossy="$q.theme === 'mat'"
|
:glossy="$q.theme === 'mat'"
|
||||||
:inverted="$q.theme === 'ios'"
|
:inverted="$q.theme === 'ios'"
|
||||||
class="toolbar"
|
class="toolbar"
|
||||||
>
|
>
|
||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
flat
|
flat
|
||||||
dense
|
dense
|
||||||
@@ -73,7 +74,7 @@
|
|||||||
{ label: 'Spanish', icon: 'fa-flag-es', value: 'es' },
|
{ label: 'Spanish', icon: 'fa-flag-es', value: 'es' },
|
||||||
{ label: 'Italian', icon: 'fa-facebook', value: 'it' }
|
{ label: 'Italian', icon: 'fa-facebook', value: 'it' }
|
||||||
]
|
]
|
||||||
public leftDrawerOpen = this.$q.platform.is.desktop
|
public leftDrawerOpen = false;
|
||||||
|
|
||||||
get lang() {
|
get lang() {
|
||||||
return this.$q.i18n.lang
|
return this.$q.i18n.lang
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="toolbar" v-show="true">
|
<div class="toolbar" v-show="true">
|
||||||
<q-toolbar class="toolbar">
|
<q-toolbar class="toolbar">
|
||||||
<button class="hide-on-drawer-visible">
|
<q-btn class="hide-on-drawer-visible">
|
||||||
<i>menu</i>
|
<i>menu</i>
|
||||||
</button>
|
</q-btn>
|
||||||
<q-btn flat round dense icon="mail">
|
<q-btn flat round dense icon="mail">
|
||||||
<q-chip floating color="red">2</q-chip>
|
<q-chip floating color="red">2</q-chip>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
|||||||
Reference in New Issue
Block a user