Remove references to global watchlist property

This commit is contained in:
Björn Fromme
2018-12-20 18:03:29 +01:00
parent 5a10151ae2
commit 4ca2d708d5
3 changed files with 2 additions and 8 deletions
@@ -14,12 +14,6 @@
type: String, type: String,
required: true required: true
}, },
watchlist: {
type: Array,
default () {
return [];
}
},
referringPage: { referringPage: {
type: Object, type: Object,
default: null default: null
@@ -100,7 +100,7 @@
</f:else> </f:else>
</f:if> </f:if>
</div> </div>
<watchlist-toggle uid="{item.hotel.uid}:{product.uid}" :watchlist="watchlist" class="teaserbox-watchlist"></watchlist-toggle> <watchlist-toggle uid="{item.hotel.uid}:{product.uid}" class="teaserbox-watchlist"></watchlist-toggle>
</div> </div>
</f:section> </f:section>
@@ -94,7 +94,7 @@
<a href="{uriLink}" title="{teaser.product.name}" class="button button--full searchresult-item__button">Details &amp; Buchen</a> <a href="{uriLink}" title="{teaser.product.name}" class="button button--full searchresult-item__button">Details &amp; Buchen</a>
</div> </div>
</div> </div>
<watchlist-toggle uid="{teaser.key}" :watchlist="watchlist" class="teaserbox-watchlist"></watchlist-toggle> <watchlist-toggle uid="{teaser.key}" class="teaserbox-watchlist"></watchlist-toggle>
</div> </div>
</f:section> </f:section>