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.
|
||||
|
||||
@@ -25,13 +25,6 @@ export default defineStore('conformanceInputStore', {
|
||||
getters: {
|
||||
},
|
||||
actions: {
|
||||
/** UNUSED
|
||||
* Set input activity radio data
|
||||
* @param {object} actRadioData
|
||||
*/
|
||||
setActivityRadioStartEndData(actRadioData) {
|
||||
this.activityRadioData = actRadioData;
|
||||
},
|
||||
/**
|
||||
* Sets the activity radio global state for either the start ('From') or end ('To') of a task.
|
||||
* We arrange in this way because backend needs us to communicate in this way.
|
||||
|
||||
@@ -26,7 +26,6 @@ export default defineStore('pageAdminStore', {
|
||||
this.activePageComputedByRoute = mapPageNameToCapitalUnifiedName(
|
||||
routeMatched[routeMatched.length - 1].name);
|
||||
}
|
||||
// console.log('this.activePageComputedByRoute', this.activePageComputedByRoute);
|
||||
},
|
||||
/**
|
||||
* Set Active Page; the page which the user is currently visiting
|
||||
|
||||
Reference in New Issue
Block a user