✨ Move upload buttons from "Create" button context menu to "Upload" button context menu (#281)
* moved upload file, dir buttons to another menu Signed-Off by: Tibor Michel <tibor.michel1@gmail.com> Co-authored-by: Tibor Michel <tibor.michel1@gmail.com> Co-authored-by: Monta <monta@HP-ProBook-445-14-inch-G9-Notebook-PC-505aadfc.localdomain>
This commit is contained in:
@@ -68,13 +68,10 @@ export default class UploadZone extends React.Component<PropsType, StateType> {
|
||||
}
|
||||
|
||||
open() {
|
||||
console.log("OPEN");
|
||||
if (this.props.disabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.setCallback();
|
||||
|
||||
this.file_input.click();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user