feature(cloudcmd) improve support of NBSP

This commit is contained in:
coderaiser 2022-04-23 01:23:27 +03:00
parent e129ab6a79
commit 42c8fd7bfe
8 changed files with 40 additions and 39 deletions

View file

@ -405,18 +405,15 @@ async function _processFiles(options, data) {
panelPassive,
} = Info;
const setCurrent = () => {
const currentName = name || data.names[0];
DOM.setCurrentByName(currentName);
};
if (!Info.isOnePanel)
CloudCmd.refresh({
panel: panelPassive,
noCurrent: true,
});
CloudCmd.refresh({panel}, setCurrent);
CloudCmd.refresh({
panel,
});
});
}
}