Compare commits

..

No commits in common. "cc29893e043c6f42218c699c2cdd8e46ad0f6ed2" and "42800a9d9988385f886e0acbeac140d9a0615392" have entirely different histories.

1 changed files with 0 additions and 4 deletions

View File

@ -73,10 +73,6 @@ export const useUserStore = defineStore({
});
},
async deleteAvatar(user: FG.User) {
await api.delete(`/users/${user.userid}/avatar`)
},
async getPermissions(force = false) {
if (force || this.permissions.length === 0) {
const { data } = await api.get<FG.Permission[]>('/roles/permissions');