Skip to content

Commit

Permalink
Remove disabling of viewing Email Accounts/Groups when Notifications …
Browse files Browse the repository at this point in the history
…plugin is not installed

Signed-off-by: Mohammad Qureshi <[email protected]>
  • Loading branch information
qreshi committed Apr 20, 2022
1 parent be0d9bd commit 3af49b5
Showing 1 changed file with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,17 +316,15 @@ class DestinationsList extends React.Component {
bodyStyles={{ padding: 'initial' }}
title="Destinations (deprecated)"
actions={
hasNotificationPlugin && (
<DestinationsActions
isEmailAllowed={this.isEmailAllowed()}
onClickManageSenders={() => {
this.setState({ showManageSenders: true });
}}
onClickManageEmailGroups={() => {
this.setState({ showManageEmailGroups: true });
}}
/>
)
<DestinationsActions
isEmailAllowed={this.isEmailAllowed()}
onClickManageSenders={() => {
this.setState({ showManageSenders: true });
}}
onClickManageEmailGroups={() => {
this.setState({ showManageEmailGroups: true });
}}
/>
}
>
<DeleteConfirmation
Expand Down

0 comments on commit 3af49b5

Please sign in to comment.