Skip to content

Commit

Permalink
add to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Feb 22, 2024
1 parent a8cc3ff commit 70a427e
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ import MenuOption from "../../atoms/menu-option/menu-option";
import MoreMenu from "../../atoms/more-menu/more-menu";
import Preloader from "../../atoms/preloader/preloader";
import IsSearchQueryMenuSearchItem from "../../molecules/is-search-query-menu-search-item/is-search-query-menu-search-item";
import MenuOptionDesktopEditorOpenSingle from "../../molecules/menu-option-desktop-editor-open-single/menu-option-desktop-editor-open-single.tsx";
import MenuOptionRotateImage90 from "../../molecules/menu-option-rotate-image-90/menu-option-rotate-image-90.tsx";
import ModalDetailviewRenameFile from "../modal-detailview-rename-file/modal-detailview-rename-file";
import ModalDownload from "../modal-download/modal-download";
import ModalMoveFile from "../modal-move-file/modal-move-file";
import ModalPublishToggleWrapper from "../modal-publish/modal-publish-toggle-wrapper";
import { GoToParentFolder } from "./internal/go-to-parent-folder";
import MenuOptionRotateImage90 from "../../molecules/menu-option-rotate-image-90/menu-option-rotate-image-90.tsx";

interface MenuDetailViewProps {
state: IDetailView;
Expand Down Expand Up @@ -359,6 +360,12 @@ const MenuDetailView: React.FunctionComponent<MenuDetailViewProps> = ({ state, d
set={setIsModalPublishOpen}
localization={localization.MessagePublish}
/>

<MenuOptionDesktopEditorOpenSingle
subPath={state.subPath}
isReadOnly={state.isReadOnly}
collections={state.collections === true}
/>
</MoreMenu>
</div>
</header>
Expand Down

0 comments on commit 70a427e

Please sign in to comment.