projects
/
osm
/
NG-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Bug 2219 - NG-UI remains stuck when showing a VIM created from the CLI
[osm/NG-UI.git]
/
src
/
app
/
packages
/
instantiate-ns
/
InstantiateNsComponent.ts
diff --git
a/src/app/packages/instantiate-ns/InstantiateNsComponent.ts
b/src/app/packages/instantiate-ns/InstantiateNsComponent.ts
index
74569f1
..
1043f9a
100644
(file)
--- a/
src/app/packages/instantiate-ns/InstantiateNsComponent.ts
+++ b/
src/app/packages/instantiate-ns/InstantiateNsComponent.ts
@@
-75,6
+75,9
@@
export class InstantiateNsComponent implements OnInit {
/** Give the message for the loading @public */
public message: string = 'PLEASEWAIT';
/** Give the message for the loading @public */
public message: string = 'PLEASEWAIT';
+ /** Contains Selected VIM Details @public */
+ public selectedVIMDetails: VimAccountDetails = null;
+
/** Element ref for fileInputConfig @public */
@ViewChild('fileInputConfig', { static: true }) public fileInputConfig: ElementRef;
/** Element ref for fileInputConfig @public */
@ViewChild('fileInputConfig', { static: true }) public fileInputConfig: ElementRef;
@@
-284,4
+287,11
@@
export class InstantiateNsComponent implements OnInit {
this.fileInputConfigLabel.nativeElement.innerText = files[0].name;
this.fileInputConfig.nativeElement.value = null;
}
this.fileInputConfigLabel.nativeElement.innerText = files[0].name;
this.fileInputConfig.nativeElement.value = null;
}
+
+ /** Get Selected VIM details @public */
+ public getSelectedVIMDetails(vimDetails: VimAccountDetails): void {
+ if (!isNullOrUndefined(vimDetails.resources)) {
+ this.selectedVIMDetails = vimDetails;
+ }
+ }
}
}