fix: fix double view runs button

This commit is contained in:
Ruben Fiszel
2024-01-05 18:27:45 +01:00
committed by GitHub
parent 9c48f1e802
commit d1f8331a0a

View File

@@ -241,15 +241,6 @@
return buttons
}
buttons.push({
label: `View runs`,
buttonProps: {
href: `/runs/${script.path}`,
size: 'xs',
color: 'light',
startIcon: History
}
})
if (Array.isArray(script.parent_hashes) && script.parent_hashes.length > 0) {
buttons.push({