update to version 1.0.0

This commit is contained in:
Tim Gröger 2024-01-16 19:55:49 +01:00
parent 036b97f8e4
commit 94c45fe3f4
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"license": "MIT",
"version": "1.0.0-alpha.5",
"version": "1.0.0",
"name": "@flaschengeist/users",
"author": "Ferdinand Thiessen <rpm@fthiessen.de>",
"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,

View File

@ -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(() =>