fix: fix resetting config and other minor issues (#2819)

This commit is contained in:
Alex Inkin
2025-01-24 22:12:57 +04:00
committed by GitHub
parent e6f02bf8f7
commit bb8109f67d
10 changed files with 194 additions and 156 deletions

View File

@@ -20,7 +20,7 @@ import {
} from '@taiga-ui/kit'
import { tuiTextfieldOptionsProvider } from '@taiga-ui/legacy'
import { PatchDB } from 'patch-db-client'
import { filter, pairwise } from 'rxjs'
import { filter, of, pairwise } from 'rxjs'
import {
PATCH_CACHE,
PatchDbSource,
@@ -52,10 +52,10 @@ export const APP_PROVIDERS: Provider[] = [
tuiDropdownOptionsProvider({ appearance: 'start-os' }),
{
provide: TUI_DATE_FORMAT,
useValue: {
useValue: of({
mode: 'MDY',
separator: '/',
},
}),
},
{
provide: TUI_DATE_VALUE_TRANSFORMER,