If we try to refresh current branch via loadDynData
when file name was updated, we get duplicates i.e file with old name and renamed file will be visible in the folder. The old file disappears only if I reload the browser.
Expected behavior:
If we rename file A
to file B
, only file B
should be visible after refresh (loadDynData)
Actual behavior:
If we rename file A
to file B
, both file A
and file B
are visible in the folder after refresh (loadDynData)
This is how we refresh current folder data:
loadData = () => {
const proxy = this.ui.config.handlers.branch;
const selectedItem = this.ui.$$('tree').getSelectedItem();
this.ui.loadDynData(proxy, selectedItem, 'branch');
};