Update icon for drafts
This commit is contained in:
@@ -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(),
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { observer } from "mobx-react";
|
||||
import { EditIcon, SearchIcon, HomeIcon, SidebarIcon } from "outline-icons";
|
||||
import { DraftsIcon, SearchIcon, HomeIcon, SidebarIcon } from "outline-icons";
|
||||
import * as React from "react";
|
||||
import { DndProvider } from "react-dnd";
|
||||
import { HTML5Backend } from "react-dnd-html5-backend";
|
||||
@@ -109,7 +109,7 @@ function AppSidebar() {
|
||||
{can.createDocument && (
|
||||
<SidebarLink
|
||||
to={draftsPath()}
|
||||
icon={<EditIcon />}
|
||||
icon={<DraftsIcon />}
|
||||
label={
|
||||
<Flex align="center" justify="space-between">
|
||||
{t("Drafts")}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { observer } from "mobx-react";
|
||||
import { EditIcon } from "outline-icons";
|
||||
import { DraftsIcon } from "outline-icons";
|
||||
import queryString from "query-string";
|
||||
import * as React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
@@ -51,7 +51,7 @@ function Drafts() {
|
||||
|
||||
return (
|
||||
<Scene
|
||||
icon={<EditIcon />}
|
||||
icon={<DraftsIcon />}
|
||||
title={t("Drafts")}
|
||||
actions={
|
||||
<>
|
||||
|
||||
@@ -157,7 +157,7 @@
|
||||
"node-fetch": "2.7.0",
|
||||
"nodemailer": "^6.9.9",
|
||||
"octokit": "^3.1.2",
|
||||
"outline-icons": "^3.2.1",
|
||||
"outline-icons": "^3.4.0",
|
||||
"oy-vey": "^0.12.1",
|
||||
"passport": "^0.7.0",
|
||||
"passport-google-oauth2": "^0.2.0",
|
||||
|
||||
@@ -11785,10 +11785,10 @@ os-tmpdir@~1.0.2:
|
||||
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
|
||||
integrity "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g=="
|
||||
|
||||
outline-icons@^3.2.1:
|
||||
version "3.2.1"
|
||||
resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-3.2.1.tgz#bb52105fef0912459add9bb0445f9265f5317857"
|
||||
integrity sha512-8zl3yPEmkHHns14sXgjmE6/6NtZqxgxTl+EKSZnnAoSJo331BFDpJDAq2pp/g8NZf6UIgyd61ka5cDvYyzFd2w==
|
||||
outline-icons@^3.4.0:
|
||||
version "3.4.0"
|
||||
resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-3.4.0.tgz#d67590046b242ace840d2d238a5557010b9aa179"
|
||||
integrity sha512-DtYs1LDdgqftkeOjozVhRWJYIGT82ZHNWYPi6aNbfdN1XK8lU9ewXgSZ3PD9GvR9z7xKO2Oy6Gm80O29bUSFBw==
|
||||
|
||||
oy-vey@^0.12.1:
|
||||
version "0.12.1"
|
||||
|
||||
Reference in New Issue
Block a user