Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: enable sorting by title when group by is none

thecodrrf1023bbc34e3
diff --git a/apps/web/src/components/group-header/index.js b/apps/web/src/components/group-header/index.js
index 2d59233ef..d94620520 100644
--- a/apps/web/src/components/group-header/index.js
+++ b/apps/web/src/components/group-header/index.js
@@ -74,7 +74,8 @@ const menuItems = [
return (
parent?.key === "sortBy" &&
item.key === "title" &&
- groupOptions.groupBy !== "abc"
+ groupOptions.groupBy !== "abc" &&
+ groupOptions.groupBy !== "none"
);
},
},
diff --git a/apps/web/src/components/navigation-menu/navigation-item.js b/apps/web/src/components/navigation-menu/navigation-item.js
index 468139857..c912e5c48 100644
--- a/apps/web/src/components/navigation-menu/navigation-item.js
+++ b/apps/web/src/components/navigation-menu/navigation-item.js
@@ -23,7 +23,7 @@ function NavigationItem(props) {
return (
<Button
data-test-id={`navitem-${title.toLowerCase()}`}
- bg={props.selected ? "border" : "transparent"}
+ bg={props.selected ? "bgSecondaryHover" : "transparent"}
px={2}
py={"9px"}
mx={1}
diff --git a/apps/web/src/theme/colorscheme/dark.js b/apps/web/src/theme/colorscheme/dark.js
index 75d02a676..71958f0cd 100644
--- a/apps/web/src/theme/colorscheme/dark.js
+++ b/apps/web/src/theme/colorscheme/dark.js
@@ -11,7 +11,7 @@ class DarkColorSchemeFactory {
accent: "#000",
bgSecondary: "#2b2b2b",
bgSecondaryText: "#A1A1A1",
- bgSecondaryHover: "#4b4b4b",
+ bgSecondaryHover: "#3d3d3d",
border: "#353535",
hover: "#2f2f2f",
fontSecondary: "#000",