import { Component } from '@angular/core' ; import { NgbModal } from "@ng-bootstrap/ng-bootstrap" ; import { LogoutConfirmationComponent } from "./logout-confirmation/logout-confirmation.component" ; import { TaskBarService } from '@shared/services/task-bar-service' ; @ Component ( { selector : 'wallet-component' , templateUrl : './wallet.component.html' , styleUrls : [ './wallet.component.scss' ] , } ) export class WalletComponent { constructor ( private taskBarService , private modalService ) { } public logout ( ) { this . modalService . open ( LogoutConfirmationComponent , { backdrop : 'static' , } ) ; } }