@cuby-ui/core 0.0.116 → 0.0.118
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.
- package/components/dialog/dialog.interfaces.d.ts +2 -0
- package/esm2020/components/dialog/dialog.interfaces.mjs +1 -1
- package/esm2020/components/dialog/dialogs.component.mjs +3 -2
- package/fesm2015/cuby-ui-core.mjs +2 -1
- package/fesm2015/cuby-ui-core.mjs.map +1 -1
- package/fesm2020/cuby-ui-core.mjs +2 -1
- package/fesm2020/cuby-ui-core.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -743,7 +743,8 @@ class CuiDialogsComponent {
|
|
|
743
743
|
this.dialogInjectors = dialogs.map(dialog => {
|
|
744
744
|
if (!this.dialogInjectorCache.has(dialog.id)) {
|
|
745
745
|
this.dialogInjectorCache.set(dialog.id, Injector.create({
|
|
746
|
-
providers: [{ provide: CUI_DIALOG_CONTEXT, useValue: dialog }]
|
|
746
|
+
providers: [{ provide: CUI_DIALOG_CONTEXT, useValue: dialog }],
|
|
747
|
+
parent: dialog.injector
|
|
747
748
|
}));
|
|
748
749
|
}
|
|
749
750
|
return this.dialogInjectorCache.get(dialog.id);
|