@arsedizioni/ars-utils 21.2.294 → 21.2.295
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/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +6 -8
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +1 -1
- package/types/arsedizioni-ars-utils-ui.application.d.ts +1 -1
- package/types/arsedizioni-ars-utils-ui.d.ts +1 -1
|
@@ -2392,14 +2392,12 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
|
|
|
2392
2392
|
}
|
|
2393
2393
|
});
|
|
2394
2394
|
}
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
this.moduleSelector()?.select(this.modules()[0]);
|
|
2402
|
-
}
|
|
2395
|
+
});
|
|
2396
|
+
// React to initialModule changes and select the corresponding module
|
|
2397
|
+
effect(() => {
|
|
2398
|
+
const initialModule = this.initialModule();
|
|
2399
|
+
const selector = this.moduleSelector();
|
|
2400
|
+
selector.select(this.modules().find(x => x.value === initialModule) ?? this.modules()[0]);
|
|
2403
2401
|
});
|
|
2404
2402
|
}
|
|
2405
2403
|
/**
|