From d36d6a8a48cf98e9fe2bbbc0b5df6384aae6d2f0 Mon Sep 17 00:00:00 2001 From: Noel da Costa Date: Fri, 9 Aug 2024 02:03:05 +0100 Subject: [PATCH] fix: #84 - missing subclass --- src/components/organisms/dnd5e/Tabs/Class.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/organisms/dnd5e/Tabs/Class.svelte b/src/components/organisms/dnd5e/Tabs/Class.svelte index 9cb3eff..ec5c7d6 100644 --- a/src/components/organisms/dnd5e/Tabs/Class.svelte +++ b/src/components/organisms/dnd5e/Tabs/Class.svelte @@ -20,6 +20,7 @@ import DonationTracker from "~/src/plugins/donation-tracker" let richHTML = "", + html = "", richSubClassHTML = "", activeClass = null, activeSubClass = null, @@ -233,8 +234,7 @@ //- pre advancement.type {advancement.type} svelte:component(this="{classAdvancementComponents[advancement.type]}" advancement="{advancement}") - +if("subclasses.length") - +if("$characterSubClass") + +if("subclasses.length") //- h3.left.mt-sm Description //- .left.sub-class(bind:innerHTML="{richSubClassHTML}" contenteditable) +if("subClassAdvancementArrayFiltered")