Skip to content

Commit

Permalink
fix: remove loading after move file (#1613)
Browse files Browse the repository at this point in the history
  • Loading branch information
erha19 authored Sep 1, 2022
1 parent 33da66c commit 7213eb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1221,8 +1221,8 @@ export class FileTreeModelService {
from = (target.parent as Directory).uri.resolve(nameFragments.slice(0, index + 1).join(Path.separator));
to = (target.parent as Directory).uri.resolve(newNameFragments.concat().join(Path.separator));
}
// 屏蔽重命名文件事件
const error = await this.fileTreeAPI.mv(from, to, target.type === TreeNodeType.CompositeTreeNode);
promptHandle.removeAddonAfter();
if (error) {
this.validateMessage = {
type: PROMPT_VALIDATE_TYPE.ERROR,
Expand Down

0 comments on commit 7213eb8

Please sign in to comment.