Skip to content

Commit

Permalink
fix: on demand dictionaries not always being positioned properly
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewingWeasel committed Aug 4, 2024
1 parent ae39bb4 commit 132b8da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/DefinitionView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ for (const def of props.definitions.values()) {
<template>
<div v-for="[_, def] in props.definitions">
<span v-if="def.t == 'Text'" v-html="def.c"></span>
</div>
<div v-for="[_, def] in props.definitions">
<div
v-else-if="
v-if="
def.t == 'OnDemand' && def.c && !separatedDefinitions.includes(def.c)
"
class="p-1 my-1 bg-background rounded-md"
Expand Down

0 comments on commit 132b8da

Please sign in to comment.