fix(faith): no-Latin prayers always render in monolingual style
CI / update (push) Successful in 1m2s
CI / update (push) Successful in 1m2s
Force showLatin=false in Prayer wrapper when hasLatin is false so spacing and red rubric icons stay correct regardless of toggle state. Also hide the Latin toggle on individual non-bilingual prayer routes.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
langStore = null;
|
||||
}
|
||||
|
||||
let showLatin = $derived(showLatinStore ? $showLatinStore : true);
|
||||
let showLatin = $derived(hasLatin === false ? false : (showLatinStore ? $showLatinStore : true));
|
||||
let urlLang = $derived(langStore ? $langStore : 'de');
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user