mirror of
https://github.com/Eugeny/tabby.git
synced 2025-02-23 14:59:41 +08:00
lint
This commit is contained in:
parent
70b6be7301
commit
c4490717c0
@ -42,7 +42,11 @@ export class EditProfileModalComponent<P extends Profile> {
|
||||
colorsAutocomplete = text$ => text$.pipe(
|
||||
debounceTime(200),
|
||||
distinctUntilChanged(),
|
||||
map((q: string) => TAB_COLORS.filter(x => !q || x.toString().startsWith(q)).map(x => x.value))
|
||||
map((q: string) =>
|
||||
TAB_COLORS
|
||||
.filter(x => !q || x.name.toLowerCase().startsWith(q.toLowerCase()))
|
||||
.map(x => x.value)
|
||||
)
|
||||
)
|
||||
|
||||
colorsFormatter = value => {
|
||||
|
Loading…
Reference in New Issue
Block a user