Skip to content

Commit

Permalink
Show "Re-validate domain" on "failed" status also
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 committed Dec 2, 2024
1 parent 43404d1 commit 1946427
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/sites/site-domain-info.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ margin: $ds.spaces.vertical-gap.zero
height: fill-container

-- ds.secondary-button: Re-validate domain
if: { show-site-domain.domain.status == "pending" }
if: { show-site-domain.domain.status == "pending" || show-site-domain.domain.status == "failed" }
variant: outline
radius: curved
$on-click$: $show-site-domain.re-check-domain.submit(site_slug=$show-site-domain.site.site-slug, domain=$show-site-domain.domain.domain)
Expand All @@ -129,7 +129,7 @@ margin: $ds.spaces.vertical-gap.zero
width.fixed.percent: 40

-- ds.secondary-button: Re-validate domain
if: { $show-site-domain.domain.status == "pending" }
if: { show-site-domain.domain.status == "pending" || show-site-domain.domain.status == "failed" }
variant: outline
radius: curved
$on-click$: $show-site-domain.re-check-domain.submit(site_slug=$show-site-domain.site.site-slug, domain=$show-site-domain.domain.domain)
Expand Down Expand Up @@ -244,7 +244,7 @@ margin: $ds.spaces.vertical-gap.zero
height: fill-container

-- ds.secondary-button: Re-validate domain
if: { show-site-domain.domain.status == "pending" }
if: { show-site-domain.domain.status == "pending" || show-site-domain.domain.status == "failed" }
variant: outline
radius: curved
$on-click$: $show-site-domain.re-check-domain.submit(site_slug=$show-site-domain.site.site-slug, domain=$show-site-domain.domain.domain)
Expand All @@ -264,7 +264,7 @@ margin: $ds.spaces.vertical-gap.zero
spacing: $ds.spaces.vertical-gap.medium

-- ds.secondary-button: Re-validate domain
if: { $show-site-domain.domain.status == "pending" }
if: { show-site-domain.domain.status == "pending" || show-site-domain.domain.status == "failed" }
variant: outline
radius: curved
$on-click$: $show-site-domain.re-check-domain.submit(site_slug=$show-site-domain.site.site-slug, domain=$show-site-domain.domain.domain)
Expand Down

0 comments on commit 1946427

Please sign in to comment.