This commit is contained in:
Clem
2023-07-07 15:15:13 +02:00
parent 82a262026f
commit a4136bec6e
3 changed files with 9 additions and 9 deletions

View File

@@ -180,8 +180,8 @@ export class SaveAsProfileContextMenu extends TabContextMenuItemProvider {
return return
} }
let options = { const options = {
...tab.profile.options ...tab.profile.options,
} }
const cwd = await tab.session?.getWorkingDirectory() ?? tab.profile.options.cwd const cwd = await tab.session?.getWorkingDirectory() ?? tab.profile.options.cwd
@@ -192,7 +192,7 @@ export class SaveAsProfileContextMenu extends TabContextMenuItemProvider {
const profile: PartialProfile<Profile> = { const profile: PartialProfile<Profile> = {
type: tab.profile.type, type: tab.profile.type,
name, name,
options options,
} }
profile.id = `${profile.type}:custom:${slugify(name)}:${uuidv4()}` profile.id = `${profile.type}:custom:${slugify(name)}:${uuidv4()}`