1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 05:03:36 +03:00
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
}
let options = {
...tab.profile.options
const options = {
...tab.profile.options,
}
const cwd = await tab.session?.getWorkingDirectory() ?? tab.profile.options.cwd
@ -192,7 +192,7 @@ export class SaveAsProfileContextMenu extends TabContextMenuItemProvider {
const profile: PartialProfile<Profile> = {
type: tab.profile.type,
name,
options
options,
}
profile.id = `${profile.type}:custom:${slugify(name)}:${uuidv4()}`