Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | 4x 4x 4x 4x 4x 4x 9x 9x 9x 1x | import { Component, Input } from "@angular/core" import { MatDialog } from "@angular/material/dialog" import { ScenarioService } from "../scenario.service" import { ScenarioItem } from "../scenarioHelper" import { AddCustomScenarioDialogComponent } from "../addCustomScenarioDialog/addCustomScenarioDialog.component" import { MatDivider } from "@angular/material/divider" @Component({ selector: "cc-scenarios", templateUrl: "./scenarios.component.html", styleUrls: ["./scenarios.component.scss"], standalone: true, imports: [MatDivider] }) export class ScenariosComponent { @Input() scenarios: ScenarioItem[] = [] constructor( public scenarioService: ScenarioService, private dialog: MatDialog ) {} addScenario() { this.dialog.open(AddCustomScenarioDialogComponent, { panelClass: "cc-add-custom-scenario" }) } } |