diff --git a/frontend/src/routes/(app)/(internal)/ebios-rm/[id=uuid]/workshop-one/ebios-rm-study/+page.svelte b/frontend/src/routes/(app)/(internal)/ebios-rm/[id=uuid]/workshop-one/ebios-rm-study/+page.svelte index f8d65dfdc..a04e689b2 100644 --- a/frontend/src/routes/(app)/(internal)/ebios-rm/[id=uuid]/workshop-one/ebios-rm-study/+page.svelte +++ b/frontend/src/routes/(app)/(internal)/ebios-rm/[id=uuid]/workshop-one/ebios-rm-study/+page.svelte @@ -54,16 +54,15 @@ modalStore.trigger(modal); } - let activeActivity: string | null = null; + let activeActivity: string | null = null; - $page.url.searchParams.forEach((value, key) => { - if (key === 'activity' && value === 'one') { - activeActivity = 'one'; - } - else if (key === 'activity' && value === 'two') { - activeActivity = 'two'; - } - }); + $page.url.searchParams.forEach((value, key) => { + if (key === 'activity' && value === 'one') { + activeActivity = 'one'; + } else if (key === 'activity' && value === 'two') { + activeActivity = 'two'; + } + }); let tabSet = 0; @@ -95,10 +94,16 @@
- {m.activityOne()} + class="relative p-4 space-y-4 rounded-md w-full flex flex-col items-center + {activeActivity === 'one' + ? 'border-2 border-primary-500' + : 'border-2 border-gray-300 border-dashed'}" + > + {m.activityOne()} {#if ebiosRmStudy.description}

{ebiosRmStudy.description}

{/if} @@ -140,10 +145,16 @@
- {m.activityTwo()} + class="relative p-4 space-y-4 rounded-md w-full flex flex-col items-center + {activeActivity === 'two' + ? 'border-2 border-primary-500' + : 'border-2 border-gray-300 border-dashed'}" + > + {m.activityTwo()} {#if Object.keys(data.relatedModels).length > 0}