Skip to content

Commit d1f3ea3

Browse files
committed
Displayed "View plate" button only if PUBLIC_FRACTAL_VIZARR_VIEWER_URL is set
1 parent a8140d9 commit d1f3ea3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/end_to_end_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
OAUTH_DEXIDP_REDIRECT_URL: "http://localhost:5173/auth/login/oauth2/"
1919
OAUTH_DEXIDP_OIDC_CONFIGURATION_ENDPOINT: "http://127.0.0.1:5556/dex/.well-known/openid-configuration"
2020
PUBLIC_OAUTH_CLIENT_NAME: dexidp
21+
PUBLIC_FRACTAL_VIZARR_VIEWER_URL: http://localhost:3000/vizarr
2122

2223
strategy:
2324
matrix:

src/routes/v2/projects/[projectId]/datasets/[datasetId]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@
499499
</div>
500500
</div>
501501
502-
{#if plates.length > 0}
502+
{#if vizarrViewerUrl && plates.length > 0}
503503
<div class="border border-info rounded bg-light p-3 mt-2">
504504
<div class="row mb-2">
505505
<div class="col">

0 commit comments

Comments
 (0)