merge #929: fix(tree): 改名/删除的调解覆盖后台会话的页签 + 标题只在派生自文件名时跟随(#915 后续)
This commit is contained in:
commit
22eb6ebddf
7 files changed
+223
-48
No files matched your search
@@ -361,6 +361,10 @@ export function createNativeTabRecords(): NativeTabRecords {
|
||||
cwd: entry.scope.cwd,
|
||||
id: entry.tab.id,
|
||||
path,
|
||||
// The chip's title travels with the row: the rename
|
||||
// reconciliation retitles a page only when that title was
|
||||
// derived from the file name (see tree-mutations).
|
||||
title: entry.tab.title,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user