@digital-ai/dot-components 3.13.2 → 3.13.3
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/index.esm.js +0 -22
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -9686,28 +9686,6 @@ const DotMetadataApiProvider = ({
|
|
|
9686
9686
|
setDashboardsError(null);
|
|
9687
9687
|
setMetadataLoading(false);
|
|
9688
9688
|
const categories = getCategoriesMock.categories[appType];
|
|
9689
|
-
setMetadata(orig => {
|
|
9690
|
-
if (orig && appType in orig) {
|
|
9691
|
-
const appTypeCategories = orig[appType];
|
|
9692
|
-
appTypeCategories[key]['categories'] = categories;
|
|
9693
|
-
return Object.assign(Object.assign({}, orig), {
|
|
9694
|
-
[appType]: appTypeCategories
|
|
9695
|
-
});
|
|
9696
|
-
}
|
|
9697
|
-
return orig ? Object.assign(Object.assign({}, orig), {
|
|
9698
|
-
[appType]: {
|
|
9699
|
-
[key]: {
|
|
9700
|
-
categories
|
|
9701
|
-
}
|
|
9702
|
-
}
|
|
9703
|
-
}) : {
|
|
9704
|
-
[appType]: {
|
|
9705
|
-
[key]: {
|
|
9706
|
-
categories
|
|
9707
|
-
}
|
|
9708
|
-
}
|
|
9709
|
-
};
|
|
9710
|
-
});
|
|
9711
9689
|
return Promise.resolve(categories);
|
|
9712
9690
|
}
|
|
9713
9691
|
return cancelablePromise(retrieveMetadata(appType, isPublishedOnly)).then(response => {
|