diff --git a/fittrackee_client/src/components/Administration/AdminUsers.vue b/fittrackee_client/src/components/Administration/AdminUsers.vue index 082b1618..e099ed9f 100644 --- a/fittrackee_client/src/components/Administration/AdminUsers.vue +++ b/fittrackee_client/src/components/Administration/AdminUsers.vue @@ -41,7 +41,9 @@ {{ $t('user.USERNAME') }} - {{ user.username }} + + {{ user.username }} + @@ -116,6 +118,7 @@ watch, capitalize, onBeforeMount, + onUnmounted, } from 'vue' import { LocationQuery, useRoute, useRouter } from 'vue-router' @@ -217,6 +220,10 @@ } ) + onUnmounted(() => { + store.dispatch(USERS_STORE.ACTIONS.EMPTY_USERS) + }) + return { authUser, errorMessages, diff --git a/fittrackee_client/src/components/Common/Modal.vue b/fittrackee_client/src/components/Common/Modal.vue index bebc35ec..085a40b7 100644 --- a/fittrackee_client/src/components/Common/Modal.vue +++ b/fittrackee_client/src/components/Common/Modal.vue @@ -6,7 +6,12 @@ {{ title }}