From 314b593ed6734fd4908b2422f54ede2b455cff9e Mon Sep 17 00:00:00 2001 From: Gavin Reynolds Date: Tue, 9 Jan 2024 13:40:52 +0000 Subject: [PATCH] eslint format Signed-off-by: Gavin Reynolds --- cypress/support/util/common.js | 5 ++++- src/components/IncidentTable/IncidentTableComponent.jsx | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cypress/support/util/common.js b/cypress/support/util/common.js index af58b0d1..f8ca5d7d 100644 --- a/cypress/support/util/common.js +++ b/cypress/support/util/common.js @@ -29,7 +29,10 @@ export const waitForIncidentTable = () => { export const waitForAlerts = () => { // eslint-disable-next-line cypress/no-unnecessary-waiting cy.wait(3000); // Required for query debounce - cy.get('.selected-incidents-ctr', { timeout: 60000 }).should('not.include.text', 'Fetching Alerts'); + cy.get('.selected-incidents-ctr', { timeout: 60000 }).should( + 'not.include.text', + 'Fetching Alerts', + ); }; export const selectIncident = (incidentIdx = 0, shiftKey = false) => { diff --git a/src/components/IncidentTable/IncidentTableComponent.jsx b/src/components/IncidentTable/IncidentTableComponent.jsx index 8259792c..c19d4432 100644 --- a/src/components/IncidentTable/IncidentTableComponent.jsx +++ b/src/components/IncidentTable/IncidentTableComponent.jsx @@ -460,7 +460,10 @@ const IncidentTableComponent = () => { // take a chance of deselecting too many times useEffect(() => { // TODO: Get user feedback on this workflow - if (responsePlaysStatus.includes('RUN_RESPONSE_PLAY_REQUESTED') || responsePlaysStatus.includes('RUN_RESPONSE_PLAY_COMPLETED')) { + if ( + responsePlaysStatus.includes('RUN_RESPONSE_PLAY_REQUESTED') + || responsePlaysStatus.includes('RUN_RESPONSE_PLAY_COMPLETED') + ) { toggleAllRowsSelected(false); } }, [responsePlaysStatus]);