Skip to content

Commit

Permalink
feat(TestRun): set active alert to read
Browse files Browse the repository at this point in the history
  • Loading branch information
harunbleech committed Sep 19, 2024
1 parent bbbda79 commit 29e6991
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/test-run-alerts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ class VrtsTestRunAlerts extends window.HTMLElement {
behavior: 'smooth',
} );

$el.setAttribute( 'data-state', 'read' );

if ( $newComparisons ) {
$comparisons.replaceWith( $newComparisons );
}
Expand Down
2 changes: 2 additions & 0 deletions components/test-run-pagination/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ class VrtsTestRunPagination extends window.HTMLElement {
behavior: 'smooth',
} );

$nextAlert.setAttribute( 'data-state', 'read' );

if ( $newComparisons ) {
$comparisons.replaceWith( $newComparisons );
}
Expand Down

0 comments on commit 29e6991

Please sign in to comment.