@bigbinary/neeto-themes-frontend 3.1.29 → 3.1.30
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.
|
@@ -1807,10 +1807,12 @@ var Themes = function Themes(_ref) {
|
|
|
1807
1807
|
previewingTheme = _useThemeStore.previewingTheme;
|
|
1808
1808
|
var _useConfigStore = useConfigStore(function (store) {
|
|
1809
1809
|
return {
|
|
1810
|
-
entityType: store["entityType"]
|
|
1810
|
+
entityType: store["entityType"],
|
|
1811
|
+
entityId: store["entityId"]
|
|
1811
1812
|
};
|
|
1812
1813
|
}, shallow),
|
|
1813
|
-
entityType = _useConfigStore.entityType
|
|
1814
|
+
entityType = _useConfigStore.entityType,
|
|
1815
|
+
entityId = _useConfigStore.entityId;
|
|
1814
1816
|
var _useState = useState(""),
|
|
1815
1817
|
_useState2 = _slicedToArray(_useState, 2),
|
|
1816
1818
|
searchQuery = _useState2[0],
|
|
@@ -1855,7 +1857,8 @@ var Themes = function Themes(_ref) {
|
|
|
1855
1857
|
};
|
|
1856
1858
|
var handleApplyGlobalTheme = function handleApplyGlobalTheme(themeId) {
|
|
1857
1859
|
var payload = {
|
|
1858
|
-
entityType: entityType
|
|
1860
|
+
entityType: entityType,
|
|
1861
|
+
entityId: entityId
|
|
1859
1862
|
};
|
|
1860
1863
|
applyGlobalTheme({
|
|
1861
1864
|
themeId: themeId,
|