From 94c45fe3f4336a98389f935b16cdbe6dea687f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Tue, 16 Jan 2024 19:55:49 +0100 Subject: [PATCH] update to version 1.0.0 --- package.json | 8 ++++---- src/pages/AdminSettings.vue | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5cb0eaf..5c22f34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "license": "MIT", - "version": "1.0.0-alpha.5", + "version": "1.0.0", "name": "@flaschengeist/users", "author": "Ferdinand Thiessen ", "homepage": "https://flaschengeist.dev/Flaschengeist", @@ -18,8 +18,8 @@ "lint": "eslint --ext .js,.ts,.vue ./src" }, "devDependencies": { - "@flaschengeist/api": "^1.0.0-alpha.8", - "@flaschengeist/types": "^1.0.0-alpha.10", + "@flaschengeist/api": "^1.0.0", + "@flaschengeist/types": "^1.0.0", "@quasar/app-webpack": "^3.7.2", "@typescript-eslint/eslint-plugin": "^5.8.0", "@typescript-eslint/parser": "^5.8.0", @@ -34,7 +34,7 @@ "typescript": "^4.5.4" }, "peerDependencies": { - "@flaschengeist/api": "^1.0.0-alpha.8" + "@flaschengeist/api": "^1.0.0" }, "prettier": { "singleQuote": true, diff --git a/src/pages/AdminSettings.vue b/src/pages/AdminSettings.vue index d7ed0ff..2bc0e86 100644 --- a/src/pages/AdminSettings.vue +++ b/src/pages/AdminSettings.vue @@ -53,6 +53,7 @@ import { hasPermission } from '@flaschengeist/api'; import { computed, defineComponent, ref } from 'vue'; import UpdateUser from '../components/UpdateUser.vue'; import RoleSettings from '../components/settings/RoleSettings.vue'; +import { useUserStore } from '@flaschengeist/api'; export default defineComponent({ name: 'AdminSettings', @@ -61,6 +62,7 @@ export default defineComponent({ const canEditRoles = computed(() => hasPermission(PERMISSIONS.ROLES_EDIT)); const route = useRoute(); const router = useRouter(); + const userStore = useUserStore(); interface Tab { name: string; @@ -86,6 +88,7 @@ export default defineComponent({ await router.replace({ query: { q_tab: 'user' } }); } tab.value = route.query.q_tab as string; + void userStore.getUsers(true); }); const _tabs = computed(() =>