Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#1869 from johnduprey/dev
Browse files Browse the repository at this point in the history
Mailbox Restore Actions
  • Loading branch information
KelvinTegelaar committed Nov 14, 2023
2 parents 3f3185a + e8e1d32 commit 0ca9ad2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/views/email-exchange/tools/MailboxRestores.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,27 @@ const Actions = (row, rowIndex, formatExtraData) => {
label: 'Show Report',
color: 'info',
},
{
label: 'Resume Restore Request',
color: 'info',
modal: true,
modalUrl: `/api/ExecMailboxRestore?TenantFilter=${tenant.defaultDomainName}&Identity=${row.Identity}&Action=Resume`,
modalMessage: 'Are you sure you want to resume this restore request?',
},
{
label: 'Suspend Restore Request',
color: 'warning',
modal: true,
modalUrl: `/api/ExecMailboxRestore?TenantFilter=${tenant.defaultDomainName}&Identity=${row.Identity}&Action=Suspend`,
modalMessage: 'Are you sure you want to suspend this restore request?',
},
{
label: 'Remove Restore Request',
color: 'danger',
modal: true,
modalUrl: `/api/ExecMailboxRestore?TenantFilter=${tenant.defaultDomainName}&Identity=${row.Identity}&Action=Remove`,
modalMessage: 'Are you sure you want to remove this restore request?',
},
]}
placement="end"
visible={ocVisible}
Expand Down

0 comments on commit 0ca9ad2

Please sign in to comment.