mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Fix linting errors
This commit is contained in:
parent
cc5a73aeb9
commit
6f7d594d0f
@ -1,6 +1,5 @@
|
||||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
import { useHistory, useParams } from 'react-router-dom';
|
||||
import PropTypes from 'prop-types';
|
||||
import { CardBody } from '../../../components/Card';
|
||||
import {
|
||||
CredentialsAPI,
|
||||
|
||||
@ -120,6 +120,7 @@ function NotificationTemplatesList({ i18n }) {
|
||||
};
|
||||
|
||||
const canAdd = actions && actions.POST;
|
||||
const alertGroupDataCy = 'notification-template-alerts';
|
||||
|
||||
return (
|
||||
<>
|
||||
@ -227,7 +228,7 @@ function NotificationTemplatesList({ i18n }) {
|
||||
{i18n._(t`Failed to delete one or more notification template.`)}
|
||||
<ErrorDetail error={deletionError} />
|
||||
</AlertModal>
|
||||
<AlertGroup data-cy="notification-template-alerts" isToast>
|
||||
<AlertGroup data-cy={alertGroupDataCy} isToast>
|
||||
{testToasts
|
||||
.filter(notification => notification.status !== 'pending')
|
||||
.map(notification => (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user