Skip to content

Commit

Permalink
fix: remove synchronization status from controller list (#5366)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay-Topher authored Mar 21, 2024
1 parent 0bf1d6f commit f398616
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import TooltipButton from "@/app/base/components/TooltipButton";
import docsUrls from "@/app/base/docsUrls";
import { useFetchActions, useTableSort } from "@/app/base/hooks";
import { SortDirection } from "@/app/base/types";
import ImageStatus from "@/app/controllers/components/ImageStatus";
import { actions as controllerActions } from "@/app/store/controller";
import controllerSelectors from "@/app/store/controller/selectors";
import type { Controller, ControllerMeta } from "@/app/store/controller/types";
Expand Down Expand Up @@ -197,17 +196,6 @@ const generateRows = ({
? "Up-to-date"
: controller.versions?.update?.version || null,
},
{
"aria-label": "Last image sync",
className: "images-col",
content: (
<DoubleRow
primary={controller.last_image_sync || "Never"}
primaryTitle={controller.last_image_sync || "Never"}
secondary={<ImageStatus systemId={system_id} />}
/>
),
},
],
"data-testid": `controller-${system_id}`,
};
Expand Down Expand Up @@ -320,17 +308,6 @@ const ControllerListTable = ({
</TableHeader>
),
},
{
className: "images-col",
content: (
<>
<TableHeader data-testid="images-header">
Last Image Sync
</TableHeader>
<TableHeader>Images Status</TableHeader>
</>
),
},
]}
rows={generateRows({
controllers: sortedControllers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,5 @@
.upgrade-col {
@include breakpoint-widths(0, 0, 0, 10rem, 10rem);
}

.images-col {
@include breakpoint-widths(0, 0, 14rem, 14rem, 14rem);
}
}
}

0 comments on commit f398616

Please sign in to comment.