Skip to content

Commit

Permalink
Fix [Monitor workflows] Add a subtitle to monitoring workflow to indi…
Browse files Browse the repository at this point in the history
…cate the list includes only run workflow (#2097)
  • Loading branch information
ilan7empest authored Nov 26, 2023
1 parent fc7e870 commit 44463c3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
23 changes: 15 additions & 8 deletions src/components/Jobs/MonitorWorkflows/MonitorWorkflows.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ import { usePods } from '../../../hooks/usePods.hook'
import { useSortTable } from '../../../hooks/useSortTable.hook'
import { useYaml } from '../../../hooks/yaml.hook'

import './MonitorWorkflows.scss'

const MonitorWorkflows = ({
abortJob,
fetchFunctionLogs,
Expand Down Expand Up @@ -526,14 +528,19 @@ const MonitorWorkflows = ({
return (
<>
{!params.workflowId && (
<div className="content__action-bar-wrapper">
<div className="action-bar">
<FilterMenu
filters={filters}
onChange={getWorkflows}
page={JOBS_PAGE}
withoutExpandButton
/>
<div className="monitor-workflows">
<p className="monitor-workflows__subtitle">
View running workflows and previously executed workflows
</p>
<div className="content__action-bar-wrapper">
<div className="action-bar">
<FilterMenu
filters={filters}
onChange={getWorkflows}
page={JOBS_PAGE}
withoutExpandButton
/>
</div>
</div>
</div>
)}
Expand Down
5 changes: 5 additions & 0 deletions src/components/Jobs/MonitorWorkflows/MonitorWorkflows.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.monitor-workflows {
&__subtitle {
margin: 10px 0 0;
}
}

0 comments on commit 44463c3

Please sign in to comment.