Fix share button
This commit is contained in:
1 parent
20730141d5
commit
2647a22c91
3 files changed
+15
-8
No files matched your search
@@ -27,7 +27,7 @@ let task_id_counter = 0
|
||||
export const upload_files = async files => {
|
||||
if (files.length === 0) {
|
||||
return
|
||||
}else if (fs_state.base.type !== "dir") {
|
||||
} else if (fs_state.base.type !== "dir") {
|
||||
alert("Can only upload to directory")
|
||||
return
|
||||
}
|
||||
@@ -42,7 +42,7 @@ export const upload_file = async file => {
|
||||
if (fs_state.base.type !== "dir") {
|
||||
alert("Can only upload to directory")
|
||||
return
|
||||
}else if (file.type === "" && file.size === 0) {
|
||||
} else if (file.type === "" && file.size === 0) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user