Skip to content

Commit

Permalink
EPMRPP-89781 | Sonar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maria-hambardzumian committed Apr 19, 2024
1 parent eba075d commit 586cc5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/controllers/project/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ export const projectNotificationsStateSelector = (state) =>
export const projectPluginNotificationsStateSelector = (pluginName) =>
createSelector(
projectAttributesSelector,
(attributes) =>
!!(attributes[NOTIFICATIONS_PLUGIN_ATTRIBUTE_ENABLED_KEY(pluginName)] === 'true'),
(attributes) => attributes[NOTIFICATIONS_PLUGIN_ATTRIBUTE_ENABLED_KEY(pluginName)] === 'true',
);

export const projectNotificationsLoadingSelector = (state) =>
Expand Down

0 comments on commit 586cc5c

Please sign in to comment.