Skip to content

Commit

Permalink
fixes logic for showing custom plugins in viewer mode
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronzi committed Oct 31, 2024
1 parent 4188f7c commit 764dbcf
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,17 @@
<JSONArrayProperty
v-else-if="checkSemanticId(submodelElementData, 'http://iese.fraunhofer.de/prop_jsonarray')"
:submodel-element-data="submodelElementData"></JSONArrayProperty>
<!-- Plugins added by the user are dynamically registered here -->
<template v-else-if="filteredPlugins.length > 0">
<component
:is="plugin.name"
v-for="(plugin, i) in filteredPlugins"
:key="i"
:submodel-element-data="submodelElementData"></component>
</template>
<GenericDataVisu
v-else-if="viewerMode"
:submodel-element-data="submodelElementData.submodelElements"></GenericDataVisu>
<!-- Plugins added by the user are dynamically registered here -->
<component
:is="plugin.name"
v-for="(plugin, i) in filteredPlugins"
v-else
:key="i"
:submodel-element-data="submodelElementData"></component>
</template>
<template
v-else-if="
Expand Down

0 comments on commit 764dbcf

Please sign in to comment.