akveo / akveo/nebular

the NbDialogService doesn't open when i trie to open it in ngOnInit methode

Open
#2,513 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

import { Component, OnInit } from "@angular/core";
import { ModalService } from "../../services/modal.service";
import { NbDialogService, NbWindowService } from "@nebular/theme";
import { VersionModalComponent } from "../modal/version-modal/version-modal.component";

@Component({
selector: "ngx-dashboard",
templateUrl: "./dashboard.component.html"
})
export class DashboardComponent implements OnInit {
constructor(
private modalService: ModalService,
private dialogService: NbDialogService,
private windowService: NbWindowService
) {}

ngOnInit() {
this.dialogService.open(VersionModalComponent, {});
}

}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.