From 73e6153e240dc15d447345fdc613d58eae2009fa Mon Sep 17 00:00:00 2001 From: zhangjingwei Date: Tue, 18 Oct 2022 14:35:33 +0800 Subject: [PATCH] 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 --- src/pages/compute/containers/Instance/actions/RebuildSelect.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/compute/containers/Instance/actions/RebuildSelect.jsx b/src/pages/compute/containers/Instance/actions/RebuildSelect.jsx index 8c9d39a7..efd15c0c 100644 --- a/src/pages/compute/containers/Instance/actions/RebuildSelect.jsx +++ b/src/pages/compute/containers/Instance/actions/RebuildSelect.jsx @@ -72,7 +72,7 @@ export class Rebuild extends ModalAction { } getImages() { - this.imageStore.fetchList(); + this.imageStore.fetchList({ all_projects: this.hasAdminRole }); } get systemTabs() {