Skip to content

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

web: hide sort button in notebook view

Abdullah Atta9d1ff3231a65
diff --git a/apps/web/src/views/notebook.tsx b/apps/web/src/views/notebook.tsx
index d6ff486d6..cf8ebda8a 100644
--- a/apps/web/src/views/notebook.tsx
+++ b/apps/web/src/views/notebook.tsx
@@ -57,6 +57,7 @@ import { FlexScrollContainer } from "../components/scroll-container";
import { Menu } from "../hooks/use-menu";
import Config from "../utils/config";
import { useSearch } from "../hooks/use-search";
+// import { showSortMenu } from "../components/group-header";
type NotebookProps = {
rootId: string;
@@ -261,7 +262,7 @@ function SubNotebooks({
</Text>
</Flex>
<Flex sx={{ alignItems: "center" }}>
- <Button
+ {/* <Button
variant="secondary"
data-test-id="subnotebooks-sort-button"
sx={{
@@ -271,11 +272,11 @@ function SubNotebooks({
}}
onClick={(e) => {
e.stopPropagation();
- // showSortMenu("topics", () => refresh(selectedNotebook.id));
+ // showSortMenu("notebooks", () => refresh(selectedNotebook.id));
}}
>
<SortAsc size={15} />
- </Button>
+ </Button> */}
<Button
variant="secondary"
data-test-id="subnotebooks-action-button"