define([ 'jquery', 'uiComponent', 'Magento_Customer/js/customer-data', 'domReady' ], function ($, Component, customerData) { 'use strict'; return Component.extend({ /** @inheritdoc */ initialize: function () { var _this = this; this._super(); this.wishlist = customerData.get('wishlist'); console.log(this.wishlist); this.wishlist.subscribe(function(newValue) { _this.decorateItems(); }); _this.decorateItems(); }, decorateItems: function() { var items = this.wishlist().items; if (typeof items === 'undefined' || […]