Skip to content

Commit

Permalink
eslint format
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Reynolds <[email protected]>
  • Loading branch information
gsreynolds committed Jan 9, 2024
1 parent 26450a7 commit 314b593
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion cypress/support/util/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
5 changes: 4 additions & 1 deletion src/components/IncidentTable/IncidentTableComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 314b593

Please sign in to comment.