mirror of
https://github.com/outline/outline.git
synced 2026-11-30 09:00:18 +03:00
fix: Cannot pick the same file twice for import
This commit is contained in:
1 parent
28cc83ad05
commit
24548dc7ee
2 files changed
+4
No files matched your search
@@ -124,6 +124,8 @@ function CollectionMenu({
|
||||
} catch (err) {
|
||||
toast.error(err.message);
|
||||
throw err;
|
||||
} finally {
|
||||
ev.target.value = "";
|
||||
}
|
||||
},
|
||||
[history, collection.id, documents]
|
||||
|
||||
@@ -407,6 +407,8 @@ function DocumentMenu({
|
||||
} catch (err) {
|
||||
toast.error(err.message);
|
||||
throw err;
|
||||
} finally {
|
||||
ev.target.value = "";
|
||||
}
|
||||
},
|
||||
[history, collection, documents, document.id]
|
||||
|
||||
Reference in new issue
Block a user