Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Jun 25, 2024
1 parent 580abe6 commit 9deeb93
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/demo/src/modules/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
type TuiDocSourceCodePathOptions,
tuiSortPages,
} from '@taiga-ui/addon-doc';
import {TUI_BASE_HREF, TUI_IS_E2E, TUI_IS_PLAYWRIGHT} from '@taiga-ui/cdk';
import {TUI_BASE_HREF, TUI_IS_E2E, TUI_IS_PLAYWRIGHT, TUI_PLATFORM} from '@taiga-ui/cdk';
import {
TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS,
TUI_DROPDOWN_HOVER_OPTIONS,
Expand Down Expand Up @@ -57,6 +57,10 @@ export const config: ApplicationConfig = {
),
NG_EVENT_PLUGINS,
Title,
{
provide: TUI_PLATFORM,
useValue: 'web',
},
{
provide: TUI_IS_PLAYWRIGHT,
useFactory: () => Boolean(inject(SESSION_STORAGE).getItem('playwright')),
Expand Down

0 comments on commit 9deeb93

Please sign in to comment.