X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fservices%2Fui%2Fconfirm-dialog.service.ts;h=103650461dbea5c62ca5c0796b6b8840a2fcd5fd;hb=492897ca754d470da3cbbc31eb49caea8fa7fe2c;hp=0eccc631b4fee8dcbd624f5d38bd455bd9cc7b74;hpb=480b67bbc8accad983e84d8d0e4e74b3fae2802d;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/services/ui/confirm-dialog.service.ts b/webapp-frontend/src/app/services/ui/confirm-dialog.service.ts index 0eccc631..10365046 100644 --- a/webapp-frontend/src/app/services/ui/confirm-dialog.service.ts +++ b/webapp-frontend/src/app/services/ui/confirm-dialog.service.ts @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -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 }