From 2cee1339803e190ce80e291ad530fe9c71fd4318 Mon Sep 17 00:00:00 2001 From: jarebudev <23311805+jarebudev@users.noreply.github.com> Date: Wed, 18 Dec 2024 23:23:36 +0000 Subject: [PATCH] removed unnecessary cast. Added component owner Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com> --- .github/component_owners.yml | 2 ++ libs/providers/unleash-web/src/lib/unleash-web-provider.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/component_owners.yml b/.github/component_owners.yml index e59dc5a29..4a129f58c 100644 --- a/.github/component_owners.yml +++ b/.github/component_owners.yml @@ -30,6 +30,8 @@ components: - markphelps libs/providers/flipt-web: - markphelps + libs/providers/unleash-web: + - jarebudev ignored-authors: - renovate-bot diff --git a/libs/providers/unleash-web/src/lib/unleash-web-provider.ts b/libs/providers/unleash-web/src/lib/unleash-web-provider.ts index f6e364898..4d1ded7dd 100644 --- a/libs/providers/unleash-web/src/lib/unleash-web-provider.ts +++ b/libs/providers/unleash-web/src/lib/unleash-web-provider.ts @@ -144,7 +144,7 @@ export class UnleashWebProvider implements Provider { } if (evaluatedVariant.name === 'disabled') { - value = defaultValue as T; + value = defaultValue; } else { variant = evaluatedVariant.name; value = evaluatedVariant.payload?.value;