Update icon for drafts

This commit is contained in:
Tom Moor
2024-05-30 19:04:54 -04:00
parent 1f980050ca
commit 09782939d1
5 changed files with 11 additions and 11 deletions

View File

@@ -3,7 +3,6 @@ import {
SearchIcon,
ArchiveIcon,
TrashIcon,
EditIcon,
OpenIcon,
SettingsIcon,
KeyboardIcon,
@@ -12,6 +11,7 @@ import {
ProfileIcon,
BrowserIcon,
ShapesIcon,
DraftsIcon,
} from "outline-icons";
import * as React from "react";
import { UrlHelper } from "@shared/utils/UrlHelper";
@@ -57,7 +57,7 @@ export const navigateToDrafts = createAction({
name: ({ t }) => t("Drafts"),
analyticsName: "Navigate to drafts",
section: NavigationSection,
icon: <EditIcon />,
icon: <DraftsIcon />,
perform: () => history.push(draftsPath()),
visible: ({ location }) => location.pathname !== draftsPath(),
});