From ffdfd938f11c804fc6b9b0b24ac214146290d3c4 Mon Sep 17 00:00:00 2001 From: Mikita Butsko Date: Wed, 31 Jan 2024 14:05:16 +0100 Subject: [PATCH] fix: fix condition (#632) --- src/store/models/models.epics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/models/models.epics.ts b/src/store/models/models.epics.ts index a9f5fb00f6..d220ce5dab 100644 --- a/src/store/models/models.epics.ts +++ b/src/store/models/models.epics.ts @@ -94,7 +94,7 @@ const getModelsEpic: AppEpic = (action$, state$) => state$.value, Feature.Header, ); - if (response.length === 0 && isOverlay && isHeaderFeatureEnabled) { + if (response.length === 0 && isOverlay && !isHeaderFeatureEnabled) { signOut(); } return ModelsActions.getModelsSuccess({ models: response });