And another workflow page
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user