Wizard: Make the blueprint name unclickable after filtering

Fixes #3419
This commit is contained in:
Katarina Sieklova 2025-07-17 15:21:45 +02:00 committed by Klara Simickova
parent 0373a55f8c
commit d03f41f160

View file

@ -558,6 +558,7 @@ const Row = ({
const [isExpanded, setIsExpanded] = useState(false);
const handleToggle = () => setIsExpanded(!isExpanded);
const dispatch = useDispatch();
const selectedBlueprintId = useAppSelector(selectSelectedBlueprintId);
const handleClick = ({
blueprintId,
@ -580,7 +581,7 @@ const Row = ({
}}
/>
<Td dataLabel="Image name">
{compose.blueprint_id ? (
{compose.blueprint_id && !selectedBlueprintId ? (
<Button
component="a"
variant="link"