diff --git a/LICENSE b/LICENSE index 0434a877e..e9d8bae0f 100644 --- a/LICENSE +++ b/LICENSE @@ -3,7 +3,7 @@ Business Source License 1.1 Parameters Licensor: General Outline, Inc. -Licensed Work: Outline 0.46.0 +Licensed Work: Outline 0.47.1 The Licensed Work is (c) 2020 General Outline, Inc. Additional Use Grant: You may make use of the Licensed Work, provided that you may not use the Licensed Work for a Document @@ -15,7 +15,7 @@ Additional Use Grant: You may make use of the Licensed Work, provided that Licensed Work by creating teams and documents controlled by such third parties. -Change Date: 2023-08-12 +Change Date: 2023-09-11 Change License: Apache License, Version 2.0 diff --git a/app/components/Breadcrumb.js b/app/components/Breadcrumb.js index 08cc104e7..79466dc40 100644 --- a/app/components/Breadcrumb.js +++ b/app/components/Breadcrumb.js @@ -1,11 +1,13 @@ // @flow import { observer, inject } from "mobx-react"; import { - PadlockIcon, + ArchiveIcon, + EditIcon, GoToIcon, MoreIcon, + PadlockIcon, ShapesIcon, - EditIcon, + TrashIcon, } from "outline-icons"; import * as React from "react"; import { Link } from "react-router-dom"; @@ -25,11 +27,73 @@ type Props = { onlyText: boolean, }; -const Breadcrumb = observer(({ document, collections, onlyText }: Props) => { - const collection = collections.get(document.collectionId); - if (!collection) return
; +function Icon({ document }) { + if (document.isDeleted) { + return ( + <> +