Last active
November 28, 2018 22:03
-
-
Save MorrisJobke/4239f5f454674b48cd332444aca1b081 to your computer and use it in GitHub Desktop.
Sorts failed steps in drone at the top
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var parent = document.querySelectorAll('[class*="matrix__list"]')[0]; | |
if (parent) { | |
document.querySelectorAll('[class*="status_number__failure"]').forEach(item => parent.prepend(item.parentNode.parentNode.parentNode)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment