mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
add line to disable eslint warning for now
This commit is contained in:
parent
45a7fbd387
commit
3e7be1d85e
@ -129,6 +129,7 @@ class GridField extends SilverStripeComponent {
|
||||
const headers = {};
|
||||
headers[FormConstants.CSRF_HEADER] = this.props.config.SecurityID;
|
||||
|
||||
// eslint-disable-next-line no-alert
|
||||
if (!confirm(
|
||||
i18n._t('Campaigns.DELETECAMPAIGN', 'Are you sure you want to delete this record?')
|
||||
)) {
|
||||
|
Loading…
Reference in New Issue
Block a user