From 06000cbc776c7e3055d7abde56674a7850d0380a Mon Sep 17 00:00:00 2001 From: wukko Date: Thu, 19 Dec 2024 21:09:51 +0600 Subject: [PATCH] web/SectionHeading: added a new prop to disable the link --- web/src/components/misc/SectionHeading.svelte | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/web/src/components/misc/SectionHeading.svelte b/web/src/components/misc/SectionHeading.svelte index e3b1e635..8741030f 100644 --- a/web/src/components/misc/SectionHeading.svelte +++ b/web/src/components/misc/SectionHeading.svelte @@ -8,6 +8,7 @@ export let title: string; export let sectionId: string; export let beta = false; + export let nolink = false; export let copyData = ""; const sectionURL = `${$page.url.origin}${$page.url.pathname}#${sectionId}`; @@ -32,18 +33,20 @@ {/if} - + {#if !nolink} + + {/if}