Skip to content

Commit

Permalink
EPMRPP-90608 || Toggler fix (#3818)
Browse files Browse the repository at this point in the history
  • Loading branch information
maria-hambardzumian authored May 2, 2024
1 parent f18d394 commit cef70b1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/src/controllers/project/sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ import {
setProjectNotificationsLoadingAction,
fetchExistingLaunchNamesSuccessAction,
} from './actionCreators';
import { patternsSelector, projectNotificationsSelector } from './selectors';
import { patternsSelector } from './selectors';

function* updateDefectType({ payload: defectTypes }) {
yield put(showScreenLockAction());
Expand Down Expand Up @@ -210,11 +210,6 @@ function* addProjectNotification({ payload: notification }) {
data: notification,
});

const notifications = yield select(projectNotificationsSelector);
if (!notifications.length) {
yield call(updateNotificationState, { notificationState: true });
}

yield put(addProjectNotificationSuccessAction({ ...notification, ...response }));
yield put(
showNotification({
Expand Down

0 comments on commit cef70b1

Please sign in to comment.