Compare commits

..

No commits in common. "8a718421accc5ff060f7bb1cca33224a589da7c3" and "1cc74480ff3c3fa0ae322f7d0f671da5414ac9fd" have entirely different histories.

3 changed files with 2 additions and 14 deletions

View File

@ -465,7 +465,6 @@ There are important limitations in HA OS to be aware of:
- Separate local storage for media is not yet supported by Home Assistant
- AMD GPUs are not supported because HA OS does not include the mesa driver.
- Intel NPUs are not supported because HA OS does not include the NPU firmware.
- Nvidia GPUs are not supported because addons do not support the nvidia runtime.
:::

View File

@ -8,7 +8,6 @@ type EmptyCardProps = {
className?: string;
icon: React.ReactNode;
title: string;
titleHeading?: boolean;
description?: string;
buttonText?: string;
link?: string;
@ -17,23 +16,14 @@ export function EmptyCard({
className,
icon,
title,
titleHeading = true,
description,
buttonText,
link,
}: EmptyCardProps) {
let TitleComponent;
if (titleHeading) {
TitleComponent = <Heading as="h4">{title}</Heading>;
} else {
TitleComponent = <div>{title}</div>;
}
return (
<div className={cn("flex flex-col items-center gap-2", className)}>
{icon}
{TitleComponent}
<Heading as="h4">{title}</Heading>
{description && (
<div className="mb-3 text-secondary-foreground">{description}</div>
)}

View File

@ -762,9 +762,8 @@ function DetectionReview({
{!loading && currentItems?.length === 0 && (
<EmptyCard
className="absolute left-[50%] top-[50%] -translate-x-1/2 -translate-y-1/2 items-center text-center"
className="y-translate-1/2 absolute left-[50%] top-[50%] -translate-x-1/2"
title={emptyCardData.title}
titleHeading={false}
description={emptyCardData.description}
icon={<LuFolderCheck className="size-16" />}
/>