mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
web: hide sort button in notebook view
This commit is contained in:
@@ -57,6 +57,7 @@ import { FlexScrollContainer } from "../components/scroll-container";
|
|||||||
import { Menu } from "../hooks/use-menu";
|
import { Menu } from "../hooks/use-menu";
|
||||||
import Config from "../utils/config";
|
import Config from "../utils/config";
|
||||||
import { useSearch } from "../hooks/use-search";
|
import { useSearch } from "../hooks/use-search";
|
||||||
|
// import { showSortMenu } from "../components/group-header";
|
||||||
|
|
||||||
type NotebookProps = {
|
type NotebookProps = {
|
||||||
rootId: string;
|
rootId: string;
|
||||||
@@ -261,7 +262,7 @@ function SubNotebooks({
|
|||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Flex sx={{ alignItems: "center" }}>
|
<Flex sx={{ alignItems: "center" }}>
|
||||||
<Button
|
{/* <Button
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
data-test-id="subnotebooks-sort-button"
|
data-test-id="subnotebooks-sort-button"
|
||||||
sx={{
|
sx={{
|
||||||
@@ -271,11 +272,11 @@ function SubNotebooks({
|
|||||||
}}
|
}}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
// showSortMenu("topics", () => refresh(selectedNotebook.id));
|
// showSortMenu("notebooks", () => refresh(selectedNotebook.id));
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<SortAsc size={15} />
|
<SortAsc size={15} />
|
||||||
</Button>
|
</Button> */}
|
||||||
<Button
|
<Button
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
data-test-id="subnotebooks-action-button"
|
data-test-id="subnotebooks-action-button"
|
||||||
|
|||||||
Reference in New Issue
Block a user