mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-04 00:11:57 +00:00
lint
This commit is contained in:
@@ -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 => {
|
||||||
|
Reference in New Issue
Block a user