@fctc/widget-logic 2.5.2 → 2.5.4
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/hooks.js +3 -0
- package/dist/hooks.mjs +3 -0
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/hooks.js
CHANGED
package/dist/hooks.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -4535,6 +4535,9 @@ var useViewV2 = ({
|
|
|
4535
4535
|
}) => {
|
|
4536
4536
|
const { useGetView: useGetView2 } = (0, provider_exports.useService)();
|
|
4537
4537
|
const viewParams = (0, import_react6.useMemo)(() => {
|
|
4538
|
+
if (!action) {
|
|
4539
|
+
return void 0;
|
|
4540
|
+
}
|
|
4538
4541
|
return {
|
|
4539
4542
|
model,
|
|
4540
4543
|
views,
|
package/dist/index.mjs
CHANGED