Always show trash
This commit is contained in:
parent
c0adf31801
commit
78c547777e
@ -230,7 +230,7 @@ $item-font-size: 14px;
|
|||||||
.explorer-node__item-editor--folder,
|
.explorer-node__item-editor--folder,
|
||||||
.explorer-node__new-child--folder {
|
.explorer-node__new-child--folder {
|
||||||
&::before {
|
&::before {
|
||||||
content: '▸';
|
content: '▹';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-left: -13px;
|
margin-left: -13px;
|
||||||
|
|
||||||
|
@ -129,9 +129,7 @@ export default {
|
|||||||
tempFolderNode.files.forEach((node) => {
|
tempFolderNode.files.forEach((node) => {
|
||||||
node.noDrop = true;
|
node.noDrop = true;
|
||||||
});
|
});
|
||||||
if (trashFolderNode.files.length) {
|
|
||||||
rootNode.folders.unshift(trashFolderNode);
|
rootNode.folders.unshift(trashFolderNode);
|
||||||
}
|
|
||||||
|
|
||||||
// Add a fake file at the end of the root folder to allow drag and drop into it
|
// Add a fake file at the end of the root folder to allow drag and drop into it
|
||||||
rootNode.files.push(fakeFileNode);
|
rootNode.files.push(fakeFileNode);
|
||||||
|
Loading…
Reference in New Issue
Block a user