Revise user controller to answer real data
[portal/ric-dashboard.git] / webapp-frontend / src / app / services / ui / confirm-dialog.service.ts
index 0eccc63..821a38b 100644 (file)
@@ -2,7 +2,7 @@
  * ========================LICENSE_START=================================
  * O-RAN-SC
  * %%
- * Copyright (C) 2019 AT&T Intellectual Property and Nokia
+ * Copyright (C) 2019 AT&T Intellectual Property
  * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@
 
 import { Injectable } from '@angular/core';
 import { MatDialog } from '@angular/material';
-import { ConfirmDialogComponent } from './../../ui/confirm-dialog/confirm-dialog.component'
+import { ConfirmDialogComponent } from './../../ui/confirm-dialog/confirm-dialog.component';
 
 @Injectable({
   providedIn: 'root'
@@ -29,10 +29,10 @@ export class ConfirmDialogService {
 
   constructor(private dialog: MatDialog) { }
 
-  openConfirmDialog(msg) {
+  openConfirmDialog(msg: string) {
     return this.dialog.open(ConfirmDialogComponent, {
       width: '480px',
-      position: { top: "100px" },
+      position: { top: '100px' },
       data: {
         message: msg
       }