Compare commits
No commits in common. "cc29893e043c6f42218c699c2cdd8e46ad0f6ed2" and "42800a9d9988385f886e0acbeac140d9a0615392" have entirely different histories.
cc29893e04
...
42800a9d99
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue