@nettyapps/ntybase 0.1.24 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3644,6 +3644,7 @@ class NettyMenuService {
|
|
|
3644
3644
|
i18nService = inject(I18nService);
|
|
3645
3645
|
menuName = signal('', ...(ngDevMode ? [{ debugName: "menuName" }] : []));
|
|
3646
3646
|
menu = signal(null, ...(ngDevMode ? [{ debugName: "menu" }] : []));
|
|
3647
|
+
credentialsService = inject(CredentialsService);
|
|
3647
3648
|
constructor() {
|
|
3648
3649
|
effect(() => {
|
|
3649
3650
|
const currentMenuName = this.menuName();
|
|
@@ -3665,7 +3666,9 @@ class NettyMenuService {
|
|
|
3665
3666
|
});
|
|
3666
3667
|
}
|
|
3667
3668
|
setMenuName(name) {
|
|
3668
|
-
|
|
3669
|
+
setTimeout(() => {
|
|
3670
|
+
this.menuName.set(name);
|
|
3671
|
+
}, 500);
|
|
3669
3672
|
}
|
|
3670
3673
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NettyMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3671
3674
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.11", ngImport: i0, type: NettyMenuService, providedIn: 'root' });
|