aboutsummaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/vnfs/myvnfs/myvnfs.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/vnfs/myvnfs/myvnfs.component.ts b/src/app/vnfs/myvnfs/myvnfs.component.ts
index 1a27135..d3bfc24 100644
--- a/src/app/vnfs/myvnfs/myvnfs.component.ts
+++ b/src/app/vnfs/myvnfs/myvnfs.component.ts
@@ -31,6 +31,7 @@ import { environment } from '../../../environments/environment';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { NgProgress } from 'ngx-progressbar';
import { NotificationsService } from 'angular2-notifications';
+import { appConstants } from '../../../constants/app-constants'
@Component({ selector: 'app-myvnfs', templateUrl: './myvnfs.component.html', styleUrls: ['./myvnfs.component.css'] })
export class MyvnfsComponent implements OnInit, OnDestroy {
@@ -105,7 +106,7 @@ export class MyvnfsComponent implements OnInit, OnDestroy {
,
error => {
- this.nService.error("Error", "Error in connecting to APPC Server")
+ this.nService.error(appConstants.errors.error, appConstants.errors.connectionError)
}
);