ptechcore_ui 1.0.34 → 1.0.35
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/dist/index.cjs +5 -0
- package/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4035,6 +4035,11 @@ var FDrawer = ({
|
|
|
4035
4035
|
(0, import_react8.useEffect)(() => {
|
|
4036
4036
|
setFilters((prev) => ({ ...prev, global_search: debouncedSearchQuery, page: 1 }));
|
|
4037
4037
|
}, [debouncedSearchQuery]);
|
|
4038
|
+
(0, import_react8.useEffect)(() => {
|
|
4039
|
+
if (activeBusinessEntity?.id) {
|
|
4040
|
+
setFilters((prev) => ({ ...prev, business_entity_id: activeBusinessEntity.id }));
|
|
4041
|
+
}
|
|
4042
|
+
}, [activeBusinessEntity?.id]);
|
|
4038
4043
|
(0, import_react8.useEffect)(() => {
|
|
4039
4044
|
const handleClickOutside = (event) => {
|
|
4040
4045
|
if (filterPanelRef.current && !filterPanelRef.current.contains(event.target)) {
|
package/dist/index.js
CHANGED
|
@@ -3958,6 +3958,11 @@ var FDrawer = ({
|
|
|
3958
3958
|
useEffect6(() => {
|
|
3959
3959
|
setFilters((prev) => ({ ...prev, global_search: debouncedSearchQuery, page: 1 }));
|
|
3960
3960
|
}, [debouncedSearchQuery]);
|
|
3961
|
+
useEffect6(() => {
|
|
3962
|
+
if (activeBusinessEntity?.id) {
|
|
3963
|
+
setFilters((prev) => ({ ...prev, business_entity_id: activeBusinessEntity.id }));
|
|
3964
|
+
}
|
|
3965
|
+
}, [activeBusinessEntity?.id]);
|
|
3961
3966
|
useEffect6(() => {
|
|
3962
3967
|
const handleClickOutside = (event) => {
|
|
3963
3968
|
if (filterPanelRef.current && !filterPanelRef.current.contains(event.target)) {
|