coer-elements 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/Tools/Page.class.ts +2 -2
- package/package.json +1 -1
package/Tools/Page.class.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { AfterViewInit, Component, Inject, inject, OnDestroy } from '@angular/core';
|
2
2
|
import { Breadcrumbs } from "./Breadcrumbs.class";
|
3
3
|
import { Source } from './Source.class';
|
4
|
-
|
4
|
+
import { CoerAlert } from '../components';
|
5
5
|
import { IAppSource, IBreadcrumb, IGoBack } from '../interfaces';
|
6
6
|
import { ActivatedRoute, Router } from '@angular/router';
|
7
7
|
import { Tools } from './Tools';
|
@@ -10,7 +10,7 @@ import { Tools } from './Tools';
|
|
10
10
|
export class Page implements AfterViewInit, OnDestroy {
|
11
11
|
|
12
12
|
//Injection
|
13
|
-
|
13
|
+
protected readonly alert = inject(CoerAlert);
|
14
14
|
protected readonly router = inject(Router);
|
15
15
|
private readonly activatedRoute = inject(ActivatedRoute);
|
16
16
|
|