From 704533585e339551643f7af29ff8dfa1fdec1d3f Mon Sep 17 00:00:00 2001 From: wilhelmguo Date: Mon, 25 Feb 2019 11:37:26 +0800 Subject: [PATCH] frontend: fix list pvs status error --- .../list-persistentvolumeclaim.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/app/portal/persistentvolumeclaim/list-persistentvolumeclaim/list-persistentvolumeclaim.component.ts b/src/frontend/src/app/portal/persistentvolumeclaim/list-persistentvolumeclaim/list-persistentvolumeclaim.component.ts index 454ee0cb5..af4ac2de3 100644 --- a/src/frontend/src/app/portal/persistentvolumeclaim/list-persistentvolumeclaim/list-persistentvolumeclaim.component.ts +++ b/src/frontend/src/app/portal/persistentvolumeclaim/list-persistentvolumeclaim/list-persistentvolumeclaim.component.ts @@ -386,7 +386,7 @@ export class ListPersistentVolumeClaimComponent implements OnInit, OnDestroy { if (!tplStatusMap[stat.templateId]) { tplStatusMap[stat.templateId] = Array(); } - tplStatusMap[stat.templateId].push(state); + tplStatusMap[stat.templateId].push(stat); } } this.tplStatusMap = tplStatusMap;