Created
January 7, 2019 14:39
-
-
Save MorrisJobke/1977531f99ede6b83b2a4ba5297256c6 to your computer and use it in GitHub Desktop.
Script to paste in the web dev tools inside drone to sort failed tasks at 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
let 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