From 7f876e73d11ad772e0e52225ac4cc0e842715618 Mon Sep 17 00:00:00 2001 From: MarsiBarsi Date: Fri, 25 Dec 2020 20:58:45 +0300 Subject: [PATCH] chore(all): + one fix --- projects/kit/components/marker-icon/marker-icon.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/kit/components/marker-icon/marker-icon.component.ts b/projects/kit/components/marker-icon/marker-icon.component.ts index c4647fd1c78c..4d8c0d18d345 100644 --- a/projects/kit/components/marker-icon/marker-icon.component.ts +++ b/projects/kit/components/marker-icon/marker-icon.component.ts @@ -47,7 +47,7 @@ export class TuiMarkerIconComponent { @HostBinding('attr.data-tui-host-mode') get computedMode(): TuiMarkerIconMode | null { - return this.globalMode === 'onLight' && !this.mode + return this.globalMode === 'onDark' && !this.mode ? TuiMarkerIconMode.OnDark : this.mode; }