From 2666e181f507c090f01e7677777928ef7611dcdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Sat, 27 Nov 2021 22:36:24 +0100 Subject: [PATCH] [core] logout on capicitor in drawer --- package.json | 5 ++++- plugin.config.js | 4 ++-- quasar.conf.js | 3 +++ src/layouts/MainLayout.vue | 15 ++++++++++++++- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6c9568c..5787e3f 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,8 @@ }, "dependencies": { "@flaschengeist/api": "file:./api", + "@flaschengeist/balance": "^1.0.0-alpha.1", + "@flaschengeist/schedule": "^1.0.0-alpha.4", "@flaschengeist/users": "^1.0.0-alpha.1", "axios": "^0.24.0", "pinia": "^2.0.4", @@ -59,7 +61,8 @@ ], "cordova": [ "iOS >= 13.0", - "Android >= 76" + "Android >= 76", + "ChromeAndroid >= 76" ] }, "engines": { diff --git a/plugin.config.js b/plugin.config.js index 91d11af..62594cc 100644 --- a/plugin.config.js +++ b/plugin.config.js @@ -1,6 +1,6 @@ // You can add your plugins here module.exports = [ -// '@flaschengeist/balance', -// '@flaschengeist/schedule', +'@flaschengeist/balance', +'@flaschengeist/schedule', // '@flaschengeist/pricelist', ] diff --git a/quasar.conf.js b/quasar.conf.js index 6a86699..6e57aef 100644 --- a/quasar.conf.js +++ b/quasar.conf.js @@ -24,6 +24,9 @@ module.exports = configure(function (/* ctx */) { }, } }, + bin: { + linuxAndroidStudio: '/home/ferdinand/Downloads/android-studio/bin/studio.sh' + }, // https://quasar.dev/quasar-cli/prefetch-feature // preFetch: true, diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 646e42e..0546592 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -40,7 +40,7 @@ - + @@ -64,6 +64,18 @@ :key="'essential' + index" :entry="entry" /> +
+ + + + + + + + Logout + + +
@@ -201,6 +213,7 @@ export default defineComponent({ shortCuts, addShortcut, deleteShortcut, + platform: Platform, }; }, });