mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-08 13:30:02 +00:00
lint
This commit is contained in:
parent
5e673106e9
commit
60a63d9c65
@ -59,7 +59,7 @@ export class ProfilesSettingsTabComponent extends BaseComponent {
|
|||||||
|
|
||||||
async newProfile (base?: PartialProfile<Profile>): Promise<void> {
|
async newProfile (base?: PartialProfile<Profile>): Promise<void> {
|
||||||
if (!base) {
|
if (!base) {
|
||||||
const profiles = [...this.templateProfiles, ...this.builtinProfiles, ...this.profiles]
|
let profiles = [...this.templateProfiles, ...this.builtinProfiles, ...this.profiles]
|
||||||
profiles = profiles.filter(x => !this.isProfileBlacklisted(x))
|
profiles = profiles.filter(x => !this.isProfileBlacklisted(x))
|
||||||
profiles.sort((a, b) => (a.weight ?? 0) - (b.weight ?? 0))
|
profiles.sort((a, b) => (a.weight ?? 0) - (b.weight ?? 0))
|
||||||
base = await this.selector.show(
|
base = await this.selector.show(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user