Skip to content

Commit

Permalink
fix: fix condition (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikitabut authored Jan 31, 2024
1 parent 3d77f3b commit 67722bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/models/models.epics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 67722bb

Please sign in to comment.