mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-10-29 17:40:28 +00:00
only show section header if values exist
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
</script>
|
||||
|
||||
<article class="main-container">
|
||||
{#if title || description}
|
||||
<div class="header">
|
||||
<div class="title">
|
||||
<h2>{title}</h2>
|
||||
@@ -11,6 +12,7 @@
|
||||
</div>
|
||||
<label>{description}</label>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<slot></slot>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user