mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-09 05:50:08 +00: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(
|
colorsAutocomplete = text$ => text$.pipe(
|
||||||
debounceTime(200),
|
debounceTime(200),
|
||||||
distinctUntilChanged(),
|
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 => {
|
colorsFormatter = value => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user