From ef6649a5dc6a0b49f34447833cb2a4d09d1d5eb2 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 4 Aug 2021 20:22:08 +0200 Subject: [PATCH] Client - init user state --- fittrackee_client/src/components/NavBar.vue | 37 +++++++++++++++------ fittrackee_client/src/store/index.ts | 8 +++-- fittrackee_client/src/store/modules/user.ts | 19 +++++++++++ fittrackee_client/src/types/state.ts | 7 ++++ 4 files changed, 58 insertions(+), 13 deletions(-) create mode 100644 fittrackee_client/src/store/modules/user.ts create mode 100644 fittrackee_client/src/types/state.ts diff --git a/fittrackee_client/src/components/NavBar.vue b/fittrackee_client/src/components/NavBar.vue index 0bc2172e..14b5786f 100644 --- a/fittrackee_client/src/components/NavBar.vue +++ b/fittrackee_client/src/components/NavBar.vue @@ -17,19 +17,25 @@ >