fix: update the project name display in the rebuild instance action

Show the project name of the images in the rebuild instance action, when the current user has admin role

Change-Id: I1073c398941e43311ab6a6a03e7f36458d8ba70c
This commit is contained in:
zhangjingwei 2022-10-18 14:35:33 +08:00
parent 2e22275d60
commit 73e6153e24

View File

@ -72,7 +72,7 @@ export class Rebuild extends ModalAction {
} }
getImages() { getImages() {
this.imageStore.fetchList(); this.imageStore.fetchList({ all_projects: this.hasAdminRole });
} }
get systemTabs() { get systemTabs() {