deleteDir
This commit is contained in:
@@ -9,7 +9,8 @@ export enum Action {
|
||||
FileDelete,
|
||||
FileCopy,
|
||||
FilePaste,
|
||||
FileMove
|
||||
FileMove,
|
||||
DirDelete
|
||||
}
|
||||
|
||||
interface Props {
|
||||
@@ -35,7 +36,7 @@ const FileBrowserContextMenu: React.FC<Props> = (props) => {
|
||||
<Item onClick={onClick} data={Action.FilePaste} disabled={!props.pasteActive}>Paste</Item>
|
||||
</Menu>
|
||||
<Menu id={CONTEXT_MENU_DIR} animation={false}>
|
||||
<Item onClick={onClick} >Item 1</Item>
|
||||
<Item onClick={onClick} data={Action.DirDelete} >Delete</Item>
|
||||
<Item onClick={onClick} >Item 2</Item>
|
||||
<Separator />
|
||||
<Item onClick={onClick} data={Action.FilePaste} disabled={!props.pasteActive}>Paste</Item>
|
||||
|
||||
Reference in New Issue
Block a user