# Demo Shopware Vue Component Props

**URL:** <https://forum.shopware.com/t/demo-shopware-vue-component-props/66286>\
**Category:** Programmierung\
**Created:** [15. April 2020 um 23:26 UTC](https://forum.shopware.com/t/demo-shopware-vue-component-props/66286 "2020-04-15T23:26:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Apostolos](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Apostolos](https://forum.shopware.com/u/Apostolos)\
**Post date:** [15. April 2020 um 23:26 UTC](https://forum.shopware.com/t/demo-shopware-vue-component-props/66286/1 "2020-04-15T23:26:06Z")

</div>

Ich habe auf der Product Seite ein neue Tab hinzugefügt&nbsp;[https://docs.shopware.com/en/shopware-platform-dev-en/how-to/new-tab-admin?category=shopware-platform-dev-en/how-to](https://docs.shopware.com/en/shopware-platform-dev-en/how-to/new-tab-admin?category=shopware-platform-dev-en/how-to)

Ich verwende das&nbsp; **sw-many-to-many-assignment-card** &nbsp;component und das : **entityCollection** prop&nbsp;übergibt den Wert **product.categories** &nbsp;aus dem Vuex state.&nbsp;

&nbsp;

Das **sw-many-to-many-assignment-card** &nbsp;component weiss aber&nbsp;nicht&nbsp;on _created_ hook das **entityCollection** wert. Der einen Fehler bei der Aktualisierung der Seite bewirkt, weil die **this.entityCollection** &nbsp;für eine Weile undefined ist.&nbsp;
