sonar qube
This commit is contained in:
@@ -61,7 +61,7 @@ export default defineStore('acctMgmtStore', {
|
||||
setCurrentViewingUser(username: string) {
|
||||
const userFind:User|undefined = this.allUserAccoutList.find(user => user.username === username);
|
||||
console.log('userFind', userFind);
|
||||
this.currentViewingUser = userFind ? userFind : { username: '', detail: {} };
|
||||
this.currentViewingUser = userFind || { username: '', detail: {} };
|
||||
},
|
||||
/**
|
||||
* We have this method because we want to handle create new modal case.
|
||||
|
||||
Reference in New Issue
Block a user