mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
fix salesforce newfile plugin
This commit is contained in:
parent
1cfd183e2d
commit
661166ea43
@ -138,8 +138,12 @@ define(function(require, exports, module) {
|
||||
toRemove.push(name);
|
||||
});
|
||||
|
||||
if (!toCreate.length && !toRemove.length && !orphanAppand.length)
|
||||
return;
|
||||
if (!toCreate.length && !toRemove.length && !orphanAppand.length) {
|
||||
// emit readdir event for empty folders, since other plugins may use that
|
||||
// to display create new file buttons
|
||||
if (node.children && node.children.length)
|
||||
return;
|
||||
}
|
||||
|
||||
var wasOpen = startUpdate(node);
|
||||
node.children = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user