Skip to content

Commit

Permalink
Fix window-content dump bug #91 (#92)
Browse files Browse the repository at this point in the history
Change the component display logic in window-component so that the props
dump only shows when neither components do
  • Loading branch information
ttechnicus authored Nov 29, 2023
2 parents 70857f5 + 251d61c commit 63428f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/window-content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ const props = defineProps<Props>();

<template>
<GeoMapWindowContent v-if="props.item.kind === 'geo-map'" :params="props.item.params" />
<TextWindowContent v-if="props.item.kind === 'text'" :params="props.item.params" />
<TextWindowContent v-else-if="props.item.kind === 'text'" :params="props.item.params" />
<pre v-else>{{ props }}</pre>
</template>

0 comments on commit 63428f1

Please sign in to comment.