pollination-react-io 1.74.2 → 1.74.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/build/index.esm.js +3 -1
- package/build/index.esm.js.map +1 -1
- package/build/index.js +3 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
@@ -49831,11 +49831,13 @@ var FileCard = function (_a) {
|
|
49831
49831
|
setCurrFile(blob);
|
49832
49832
|
setCADintegration(blob);
|
49833
49833
|
setIsLoading(false);
|
49834
|
+
setIsInactive(false);
|
49834
49835
|
});
|
49835
49836
|
})
|
49836
49837
|
.catch(function (err) {
|
49837
49838
|
console.error(err);
|
49838
49839
|
setIsLoading(false);
|
49840
|
+
setIsInactive(true);
|
49839
49841
|
});
|
49840
49842
|
};
|
49841
49843
|
var extension = useMemo(function () {
|
@@ -49941,7 +49943,7 @@ var FileCard = function (_a) {
|
|
49941
49943
|
highlight: 'var(--slate7)'
|
49942
49944
|
}, results: CADdata.data, buttonLabel: label,
|
49943
49945
|
// @ts-ignore
|
49944
|
-
defaultAction: Action$1.preview, optionsConfig: {
|
49946
|
+
defaultAction: (host === 'revit') ? Action$1.add : Action$1.preview, optionsConfig: {
|
49945
49947
|
add: true,
|
49946
49948
|
delete: (host === 'revit'),
|
49947
49949
|
'subscribe-preview': false,
|