mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-23 18:44:20 +03:00
lint
This commit is contained in:
parent
00b43e88dc
commit
8a514fff17
@ -95,6 +95,9 @@ export class ProfilesSettingsTabComponent extends BaseComponent {
|
||||
{ size: 'lg' },
|
||||
)
|
||||
const provider = this.profilesService.providerForProfile(profile)
|
||||
if (!provider) {
|
||||
throw new Error('Cannot edit a profile without a provider')
|
||||
}
|
||||
modal.componentInstance.profile = Object.assign({}, profile)
|
||||
modal.componentInstance.profileProvider = provider
|
||||
const result = await modal.result
|
||||
|
Loading…
Reference in New Issue
Block a user