1 import { Component, OnInit } from '@angular/core';
3 import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
5 import { FeedbackComponent } from '~/app/ceph/shared/feedback/feedback.component';
6 import { Icons } from '~/app/shared/enum/icons.enum';
7 import { DocService } from '~/app/shared/services/doc.service';
8 import { ModalService } from '~/app/shared/services/modal.service';
9 import { AboutComponent } from '../about/about.component';
12 selector: 'cd-dashboard-help',
13 templateUrl: './dashboard-help.component.html',
14 styleUrls: ['./dashboard-help.component.scss']
16 export class DashboardHelpComponent implements OnInit {
18 modalRef: NgbModalRef;
20 bsModalRef: NgbModalRef;
22 constructor(private modalService: ModalService, private docService: DocService) {}
25 this.docService.subscribeOnce('dashboard', (url: string) => {
31 this.modalRef = this.modalService.show(AboutComponent, null, { size: 'lg' });
35 this.bsModalRef = this.modalService.show(FeedbackComponent, null, { size: 'lg' });