A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: hide sort button in notebook view
Abdullah Atta9d1ff3231a65
diff --git a/apps/web/src/views/notebook.tsx b/apps/web/src/views/notebook.tsxindex 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+ {/* <Buttonvariant="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> */}<Buttonvariant="secondary"data-test-id="subnotebooks-action-button"