app/components/lookbook/button/component.js in lookbook-1.2.0 vs app/components/lookbook/button/component.js in lookbook-1.2.1
- old
+ new
@@ -36,9 +36,18 @@
if (dropdown) {
dropdown.hide();
}
},
+ updateDropdown() {
+ if (dropdown) {
+ dropdown.hide();
+ this.$nextTick(() => {
+ dropdown.setContent(this.$refs.dropdown.innerHTML);
+ });
+ }
+ },
+
startSpin() {
this._spinning = true;
},
stopSpin(delay = 0) {