implemented move
This commit is contained in:
@@ -8,7 +8,8 @@ export const CONTEXT_MENU_DIR = "CONTEXT_MENU_DIR"
|
||||
export enum Action {
|
||||
FileDelete,
|
||||
FileCopy,
|
||||
FilePaste
|
||||
FilePaste,
|
||||
FileMove
|
||||
}
|
||||
|
||||
interface Props {
|
||||
@@ -29,6 +30,7 @@ const FileBrowserContextMenu: React.FC<Props> = (props) => {
|
||||
<Menu id={CONTEXT_MENU_FILE} animation={false}>
|
||||
<Item onClick={onClick} data={Action.FileDelete} >Delete</Item>
|
||||
<Item onClick={onClick} data={Action.FileCopy} >Copy</Item>
|
||||
<Item onClick={onClick} data={Action.FileMove} >Move</Item>
|
||||
<Item onClick={onClick} data={Action.FilePaste} disabled={!props.pasteActive}>Paste</Item>
|
||||
<Separator />
|
||||
<Item disabled>Disabled</Item>
|
||||
|
||||
Reference in New Issue
Block a user