From 0955c210824a9c3caa2ca267b51d46caa4959eac Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 29 Aug 2021 10:29:53 +0200 Subject: [PATCH] Allow login to multiple bots --- src/components/BotList.vue | 29 ++++++++++++++++++++++++++++ src/components/Login.vue | 13 ++++++++++--- src/shared/userService.ts | 15 +++++++++----- src/store/index.ts | 5 ++++- src/store/modules/botStoreWrapper.ts | 15 ++++++++++++++ src/views/Home.vue | 8 +++++++- src/views/LoginModal.vue | 6 ++++-- 7 files changed, 79 insertions(+), 12 deletions(-) create mode 100644 src/components/BotList.vue diff --git a/src/components/BotList.vue b/src/components/BotList.vue new file mode 100644 index 00000000..f832b4c2 --- /dev/null +++ b/src/components/BotList.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/src/components/Login.vue b/src/components/Login.vue index 0771d912..a0bd8795 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -60,17 +60,23 @@ diff --git a/src/views/LoginModal.vue b/src/views/LoginModal.vue index 7dc5e717..f6ed18b4 100644 --- a/src/views/LoginModal.vue +++ b/src/views/LoginModal.vue @@ -1,6 +1,6 @@