Added Entity Wiki
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script setup>
|
||||
|
||||
import EntityShowSubTimes from "~/components/EntityShowSubTimes.vue";
|
||||
import WikiEntityWidget from "~/components/wiki/WikiEntityWidget.vue";
|
||||
|
||||
const props = defineProps({
|
||||
type: {
|
||||
@@ -288,6 +289,13 @@ const changePinned = async () => {
|
||||
v-else-if="tab.label === 'Zeiten'"
|
||||
:platform="platform"
|
||||
/>
|
||||
<div v-else-if="tab.label === 'Wiki'" class="h-[600px] w-full overflow-hidden">
|
||||
<WikiEntityWidget
|
||||
:entity-type="type"
|
||||
:entity-id="typeof props.item.id === 'number' ? props.item.id : undefined"
|
||||
:entity-uuid="typeof props.item.id === 'string' ? props.item.id : undefined"
|
||||
/>
|
||||
</div>
|
||||
<EntityShowSub
|
||||
:item="props.item"
|
||||
:query-string-data="getAvailableQueryStringData()"
|
||||
|
||||
Reference in New Issue
Block a user