Skip to content

Commit

Permalink
fix: fix condition (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikitabut committed Jan 31, 2024
1 parent bc4e9a4 commit ffdfd93
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 ffdfd93

Please sign in to comment.