And another workflow page

This commit is contained in:
Frikky
2025-08-27 20:22:43 +02:00
parent 8a915980b8
commit abeadac949
+2 -2
View File
@@ -5183,14 +5183,14 @@ const Workflows2 = (props) => {
<Tooltip title="Show/Hide Workflow Runs for top workflows" placement="top"> <Tooltip title="Show/Hide Workflow Runs for top workflows" placement="top">
<IconButton <IconButton
style={currTab === 2 ? iconButtonDisabledStyle : iconButtonStyle} style={currTab === 2 ? iconButtonDisabledStyle : {...iconButtonStyle, color: showExecutionStats ? "#1a1a1a" : theme.palette.text.primary, background: showExecutionStats ? theme.palette.primary.main : theme.palette.platformColor}}
onClick={() => { onClick={() => {
const newView = !showExecutionStats const newView = !showExecutionStats
localStorage.setItem("showExecutionStats", newView) localStorage.setItem("showExecutionStats", newView)
setShowExecutionStats(!showExecutionStats) setShowExecutionStats(!showExecutionStats)
}} }}
color={showExecutionStats ? "primary" : "default"} disabled={currTab === 2}
> >
<BarChartIcon /> <BarChartIcon />
</IconButton> </IconButton>