io-sanita-theme 2.20.5 → 2.20.6
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.20.6](https://github.com/RedTurtle/io-sanita-theme/compare/2.20.5...2.20.6) (2025-09-19)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* fixed sticky menu cms-ui ([487ca7a](https://github.com/RedTurtle/io-sanita-theme/commit/487ca7ac9e6f7a12112d366ee5d4dcc521865c34))
|
|
8
|
+
|
|
3
9
|
## [2.20.5](https://github.com/RedTurtle/io-sanita-theme/compare/2.20.4...2.20.5) (2025-09-16)
|
|
4
10
|
|
|
5
11
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -28,9 +28,10 @@ const Header = ({ pathname }) => {
|
|
|
28
28
|
const [headerHeight, setHeaderHeight] = useState(0);
|
|
29
29
|
const [mini, setMini] = useState(false);
|
|
30
30
|
|
|
31
|
-
const isEditMode = useSelector(
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
const isEditMode = useSelector(
|
|
32
|
+
(state) =>
|
|
33
|
+
Object.keys(state.form.global ?? {})?.length > 0 ||
|
|
34
|
+
location.pathname.indexOf('/controlpanel') === 0,
|
|
34
35
|
);
|
|
35
36
|
|
|
36
37
|
useEffect(() => {
|