Skip to content

Commit 0ca9ad2

Browse files
Merge pull request #1869 from johnduprey/dev
Mailbox Restore Actions
2 parents 3f3185a + e8e1d32 commit 0ca9ad2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/views/email-exchange/tools/MailboxRestores.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,27 @@ const Actions = (row, rowIndex, formatExtraData) => {
9393
label: 'Show Report',
9494
color: 'info',
9595
},
96+
{
97+
label: 'Resume Restore Request',
98+
color: 'info',
99+
modal: true,
100+
modalUrl: `/api/ExecMailboxRestore?TenantFilter=${tenant.defaultDomainName}&Identity=${row.Identity}&Action=Resume`,
101+
modalMessage: 'Are you sure you want to resume this restore request?',
102+
},
103+
{
104+
label: 'Suspend Restore Request',
105+
color: 'warning',
106+
modal: true,
107+
modalUrl: `/api/ExecMailboxRestore?TenantFilter=${tenant.defaultDomainName}&Identity=${row.Identity}&Action=Suspend`,
108+
modalMessage: 'Are you sure you want to suspend this restore request?',
109+
},
110+
{
111+
label: 'Remove Restore Request',
112+
color: 'danger',
113+
modal: true,
114+
modalUrl: `/api/ExecMailboxRestore?TenantFilter=${tenant.defaultDomainName}&Identity=${row.Identity}&Action=Remove`,
115+
modalMessage: 'Are you sure you want to remove this restore request?',
116+
},
96117
]}
97118
placement="end"
98119
visible={ocVisible}

0 commit comments

Comments
 (0)