mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
fix(selector): avoid error Uncaught (in promise) on modal dismiss (fix Eugeny/tabby#8065)
This commit is contained in:
@@ -65,7 +65,10 @@ export class ProfilesSettingsTabComponent extends BaseComponent {
|
||||
name: p.group ? `${this.profilesService.resolveProfileGroupName(p.group)} / ${p.name}` : p.name,
|
||||
result: p,
|
||||
})),
|
||||
)
|
||||
).catch(() => undefined)
|
||||
if (!base) {
|
||||
return
|
||||
}
|
||||
}
|
||||
const profile: PartialProfile<Profile> = deepClone(base)
|
||||
delete profile.id
|
||||
|
Reference in New Issue
Block a user