Skip to content

Commit 47d83cf

Browse files
committed
Adresses review remark
1 parent 98f954b commit 47d83cf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

aas-web-ui/src/pages/modules/DPPDemo/General.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
<script lang="ts" setup>
6161
import { computed, onMounted, ref, watch } from 'vue';
6262
import { useReferableUtils } from '@/composables/AAS/ReferableUtils';
63-
import { useSMHandling } from '@/composables/AAS/SMHandling';
6463
import { useSMEFile } from '@/composables/AAS/SubmodelElements/File';
6564
import { useSME } from '@/composables/AAS/SubmodelElements/SubmodelElement';
6665
import { useContactInformation_v1_0Utils } from '@/composables/AAS/SubmodelTemplates/ContactInformation_v1_0Utils';
@@ -86,7 +85,6 @@
8685
const aasStore = useAASStore();
8786
const { resolveSubmodelBySemanticId } = useDppSubmodelResolver();
8887
const { getSubmodelElementByIdShort, checkIdShort, nameToDisplay } = useReferableUtils();
89-
const { setData } = useSMHandling();
9088
const { hasValue, valueToDisplay } = useSME();
9189
const { valueBlob } = useSMEFile();
9290
const { determineAddress, getTypeOfEmailAddress, getTypeOfFaxNumber, getTypeOfTelephone } =
@@ -140,7 +138,7 @@
140138
return;
141139
}
142140
143-
nameplateSubmodel.value = await setData({ ...resolvedNameplate }, resolvedNameplate.path);
141+
nameplateSubmodel.value = resolvedNameplate as NameplateSubmodel;
144142
145143
extractRows();
146144
await extractLogo();

0 commit comments

Comments
 (0)