ImagesTable: Fix the GCP launch link

This fixes the bug when Launch button got replaced with Image command button even in the Preview.
This commit is contained in:
regexowl 2023-06-29 15:26:12 +02:00 committed by Sanne Raymaekers
parent 57be1e4a9d
commit 021f6019ba

View file

@ -47,7 +47,7 @@ const ProvisioningLink = ({ imageId, isExpired, isInClonesTable }) => {
const appendTo = useMemo(() => document.querySelector(MODAL_ANCHOR), []);
const provider = getImageProvider(image);
if (!error && provider !== 'gcp') {
if (!error) {
return (
<Suspense fallback="loading...">
<Button variant="link" isInline onClick={() => openWizard(true)}>