-
Notifications
You must be signed in to change notification settings - Fork 15
Implemented PCIe Topology page #312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
tiwari-nishant
commented
Nov 27, 2024
- PCIe Topology Page Vue2 to Vue3
- Jira Story: https://jsw.ibm.com/browse/PFEBMC-2371
9da5f31
to
15e5f74
Compare
15e5f74
to
205c0de
Compare
205c0de
to
08d5cac
Compare
safeModeGetter: (state) => state.safeMode, | ||
serverStatusGetter: (state) => state.serverStatus, | ||
isServiceUser: (state) => | ||
state.currentUser?.RoleId === 'OemIBMServiceAgent' || !state.currentUser, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
state currentUser is neither initialised nor assigned a value anywhere in the file. getCurrentUser() and getAccountService() functions need to be included from older file. Or directly state userPrivilege can be used as well to get the role id of the user.
return globalStore.isInPhypStandby; | ||
}); | ||
const isServiceUser = computed(() => { | ||
return globalStore.isServiceUser; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is returning as true for all users(eg: admin)
function resetConfirm() { | ||
confirm.value = false; | ||
v$.value.$reset() | ||
emitUpdate('update:openResetModal',false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we using these emits anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes the root component PCIeToppology uses it to get the updated value
01a9938
to
2d59a4c
Compare
* PCIe Topology Page Vue2 to Vue3 * Jira Story: https://jsw.ibm.com/browse/PFEBMC-2371
2d59a4c
to
a9e97c6
Compare
* PCIe Topology Page Vue2 to Vue3 * Jira Story: https://jsw.ibm.com/browse/PFEBMC-2371