Skip to content

Commit

Permalink
Merge pull request #474 from vitessio/small-ui-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
frouioui authored Oct 25, 2023
2 parents 057d923 + a2b0319 commit 53c6e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions website/src/pages/StatusPage/StatusPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ export default function StatusPage() {

{/* EXECUTION QUEUE */}
{!isLoadingQueue && dataQueue && dataQueue.length > 0 && (
<ExecutionQueue data={dataQueue} />
<ExecutionQueue data={dataQueue} title={"Execution Queue"} />
)}

{/* PREVIOUS EXECUTIONS */}
{!isLoadingPreviousExe &&
dataPreviousExe &&
dataPreviousExe.length > 0 && (
<PreviousExecutions data={dataPreviousExe} />
<PreviousExecutions data={dataPreviousExe} title={"Previous Executions"}/>
)}

{/* SHOW LOADER BENEATH IF EITHER IS LOADING */}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { twMerge } from "tailwind-merge";
import DisplayList from "../../../common/DisplayList";

export default function PreviousExecutions(props) {
const { data } = props;
const { data, title } = props;

const [previousExecutions, setPreviousExecutions] = useState([]);

Expand Down Expand Up @@ -86,7 +86,7 @@ export default function PreviousExecutions(props) {
return (
<section className="p-page mt-20 flex flex-col">
<h1 className="text-primary text-3xl my-5 text-center">
Previous Executions
{title}
</h1>
{previousExecutions.length > 0 && (
<DisplayList data={previousExecutions} />
Expand Down

0 comments on commit 53c6e6b

Please sign in to comment.