change: show only other user for owner transfer
This commit is contained in:
parent
117372af39
commit
88ec075d20
3 changed files with 18 additions and 12 deletions
|
@ -5,6 +5,7 @@ import { useAbilityStore } from "./ability";
|
|||
export const useAccountStore = defineStore("account", {
|
||||
state: () => {
|
||||
return {
|
||||
id: "" as string,
|
||||
firstname: "" as string,
|
||||
lastname: "" as string,
|
||||
mail: "" as string,
|
||||
|
@ -17,7 +18,8 @@ export const useAccountStore = defineStore("account", {
|
|||
localStorage.removeItem("refreshToken");
|
||||
window.open("/login", "_self");
|
||||
},
|
||||
setAccountData(firstname: string, lastname: string, mail: string, alias: string) {
|
||||
setAccountData(id: string, firstname: string, lastname: string, mail: string, alias: string) {
|
||||
this.id = id;
|
||||
this.firstname = firstname;
|
||||
this.lastname = lastname;
|
||||
this.mail = mail;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue