update to version 1.0.0
This commit is contained in:
parent
036b97f8e4
commit
94c45fe3f4
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "1.0.0-alpha.5",
|
"version": "1.0.0",
|
||||||
"name": "@flaschengeist/users",
|
"name": "@flaschengeist/users",
|
||||||
"author": "Ferdinand Thiessen <rpm@fthiessen.de>",
|
"author": "Ferdinand Thiessen <rpm@fthiessen.de>",
|
||||||
"homepage": "https://flaschengeist.dev/Flaschengeist",
|
"homepage": "https://flaschengeist.dev/Flaschengeist",
|
||||||
|
@ -18,8 +18,8 @@
|
||||||
"lint": "eslint --ext .js,.ts,.vue ./src"
|
"lint": "eslint --ext .js,.ts,.vue ./src"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@flaschengeist/api": "^1.0.0-alpha.8",
|
"@flaschengeist/api": "^1.0.0",
|
||||||
"@flaschengeist/types": "^1.0.0-alpha.10",
|
"@flaschengeist/types": "^1.0.0",
|
||||||
"@quasar/app-webpack": "^3.7.2",
|
"@quasar/app-webpack": "^3.7.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
||||||
"@typescript-eslint/parser": "^5.8.0",
|
"@typescript-eslint/parser": "^5.8.0",
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
"typescript": "^4.5.4"
|
"typescript": "^4.5.4"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@flaschengeist/api": "^1.0.0-alpha.8"
|
"@flaschengeist/api": "^1.0.0"
|
||||||
},
|
},
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
|
|
|
@ -53,6 +53,7 @@ import { hasPermission } from '@flaschengeist/api';
|
||||||
import { computed, defineComponent, ref } from 'vue';
|
import { computed, defineComponent, ref } from 'vue';
|
||||||
import UpdateUser from '../components/UpdateUser.vue';
|
import UpdateUser from '../components/UpdateUser.vue';
|
||||||
import RoleSettings from '../components/settings/RoleSettings.vue';
|
import RoleSettings from '../components/settings/RoleSettings.vue';
|
||||||
|
import { useUserStore } from '@flaschengeist/api';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'AdminSettings',
|
name: 'AdminSettings',
|
||||||
|
@ -61,6 +62,7 @@ export default defineComponent({
|
||||||
const canEditRoles = computed(() => hasPermission(PERMISSIONS.ROLES_EDIT));
|
const canEditRoles = computed(() => hasPermission(PERMISSIONS.ROLES_EDIT));
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
const userStore = useUserStore();
|
||||||
|
|
||||||
interface Tab {
|
interface Tab {
|
||||||
name: string;
|
name: string;
|
||||||
|
@ -86,6 +88,7 @@ export default defineComponent({
|
||||||
await router.replace({ query: { q_tab: 'user' } });
|
await router.replace({ query: { q_tab: 'user' } });
|
||||||
}
|
}
|
||||||
tab.value = route.query.q_tab as string;
|
tab.value = route.query.q_tab as string;
|
||||||
|
void userStore.getUsers(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
const _tabs = computed(() =>
|
const _tabs = computed(() =>
|
||||||
|
|
Loading…
Reference in New Issue