Skip to content

Commit

Permalink
GUI Issue #3221: LONG_INIT - chage terminate to stop action. Add BILL… (
Browse files Browse the repository at this point in the history
#3253)

* GUI Issue #3221: LONG_INIT - chage terminate to stop action. Add BILLING_QUOTA_EXCEEDING actions

* GUI Issue #3221: Remove actions control for issue type notifications
  • Loading branch information
AleksandrGorodetskii authored May 30, 2023
1 parent b79fc7c commit 3d6ff61
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ class NotificationActions extends React.Component {
entityInfoRequest;

groupedActions = {
[NOTIFICATION_TYPES.BILLING_QUOTA_EXCEEDING]: [
ACTIONS.viewBilling
],
[NOTIFICATION_TYPES.IDLE_RUN]: [
ACTIONS.viewRun,
ACTIONS.pauseRun,
Expand All @@ -59,7 +62,7 @@ class NotificationActions extends React.Component {
],
[NOTIFICATION_TYPES.LONG_INIT]: [
ACTIONS.viewRun,
ACTIONS.terminateRun
ACTIONS.stopRun
],
[NOTIFICATION_TYPES.LONG_PAUSED]: [
ACTIONS.viewRun,
Expand Down Expand Up @@ -119,9 +122,12 @@ class NotificationActions extends React.Component {

get showActionsControl () {
const {type} = this.notificationDetails;
return type && type !== NOTIFICATION_TYPES.INACTIVE_USERS &&
return type &&
type !== NOTIFICATION_TYPES.INACTIVE_USERS &&
type !== NOTIFICATION_TYPES.LDAP_BLOCKED_POSTPONED_USERS &&
type !== NOTIFICATION_TYPES.LDAP_BLOCKED_USERS;
type !== NOTIFICATION_TYPES.LDAP_BLOCKED_USERS &&
type !== NOTIFICATION_TYPES.NEW_ISSUE &&
type !== NOTIFICATION_TYPES.NEW_ISSUE_COMMENT;
}

fetchEntityInfo = () => {
Expand Down

0 comments on commit 3d6ff61

Please sign in to comment.