commit | c439c8193a2f819586b0ca9bb1b219a5c110e092 | [log] [tgz] |
---|---|---|
author | Ittay Stern <ittay.stern@att.com> | Wed Oct 30 14:46:22 2019 +0200 |
committer | Ittay Stern <ittay.stern@att.com> | Wed Oct 30 14:46:22 2019 +0200 |
tree | e59f45a42b5132f3e9e564f9213addf14f0408c5 | |
parent | a8ebb74702f07acead84edcdaf083d78a84d00a3 [diff] [blame] |
Instantiation-Status: default on unexpected/undefined statuses (fix) Issue-ID: VID-692 Change-Id: I15c81daba1a45ff0e009d5e381f93adb03914c0f Signed-off-by: Ittay Stern <ittay.stern@att.com>
diff --git a/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts b/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts index 6a85d9d..ffc2e68 100644 --- a/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts +++ b/vid-webpack-master/src/app/instantiationStatus/instantiationStatus.component.service.ts
@@ -138,7 +138,7 @@ } getStatus(status : string) : ServiceStatus { - switch(status.toUpperCase()) { + switch(`${status}`.toUpperCase()) { case 'PENDING' : return new ServiceStatus(PENDING, 'primary', 'Pending: The action required will be sent as soon as possible.'); case 'IN_PROGRESS' :