@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.
|
@@ -1809,10 +1809,12 @@ var Themes = function Themes(_ref) {
|
|
|
1809
1809
|
previewingTheme = _useThemeStore.previewingTheme;
|
|
1810
1810
|
var _useConfigStore = useThemeUtils.useConfigStore(function (store) {
|
|
1811
1811
|
return {
|
|
1812
|
-
entityType: store["entityType"]
|
|
1812
|
+
entityType: store["entityType"],
|
|
1813
|
+
entityId: store["entityId"]
|
|
1813
1814
|
};
|
|
1814
1815
|
}, shallow.shallow),
|
|
1815
|
-
entityType = _useConfigStore.entityType
|
|
1816
|
+
entityType = _useConfigStore.entityType,
|
|
1817
|
+
entityId = _useConfigStore.entityId;
|
|
1816
1818
|
var _useState = react.useState(""),
|
|
1817
1819
|
_useState2 = _slicedToArray(_useState, 2),
|
|
1818
1820
|
searchQuery = _useState2[0],
|
|
@@ -1857,7 +1859,8 @@ var Themes = function Themes(_ref) {
|
|
|
1857
1859
|
};
|
|
1858
1860
|
var handleApplyGlobalTheme = function handleApplyGlobalTheme(themeId) {
|
|
1859
1861
|
var payload = {
|
|
1860
|
-
entityType: entityType
|
|
1862
|
+
entityType: entityType,
|
|
1863
|
+
entityId: entityId
|
|
1861
1864
|
};
|
|
1862
1865
|
applyGlobalTheme({
|
|
1863
1866
|
themeId: themeId,
|