diff --git a/src/app/shared_modules/baseClass/abstract-base-class.ts b/src/app/shared_modules/baseClass/abstract-base-class.ts index 3bf03a68a7..680a3a4fa9 100644 --- a/src/app/shared_modules/baseClass/abstract-base-class.ts +++ b/src/app/shared_modules/baseClass/abstract-base-class.ts @@ -94,12 +94,21 @@ export abstract class AbstractBaseClasse { } } + public setCollapseStatus(id:string,status:boolean):void{ + + this.collapse_status[id] = status; + + } + + + /** * Switch status of collapse. * @param {string} id */ public switchCollapseStatus(id: string) { this.collapse_status[id] = !this.getCollapseStatus(id); + console.log(this.collapse_status[id]) } diff --git a/src/app/virtualmachines/vmOverview.component.html b/src/app/virtualmachines/vmOverview.component.html index 1eafab4c38..e0879d806f 100755 --- a/src/app/virtualmachines/vmOverview.component.html +++ b/src/app/virtualmachines/vmOverview.component.html @@ -133,9 +133,10 @@