fix doclinks

This commit is contained in:
Andras Bacsai
2022-11-03 15:37:39 +01:00
parent ba2db666aa
commit 363755c3bf
7 changed files with 37 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts">
export let service: any;
import { status } from '$lib/store';
export let template: any;
import { page } from '$app/stores';
import ServiceLinks from './_ServiceLinks.svelte';
</script>
@@ -10,7 +10,7 @@
<span>General</span>
</li>
<li class="rounded">
<ServiceLinks {service} linkToDocs={true} />
<ServiceLinks {template} {service} linkToDocs={true} />
</li>
<li class="rounded" class:bg-coollabs={$page.url.pathname === `/services/${$page.params.id}`}>
<a href={`/services/${$page.params.id}`} class="no-underline w-full"