We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4f4a6 commit 9ef1afeCopy full SHA for 9ef1afe
app/code/Magento/GiftMessage/view/frontend/web/js/view/gift-message.js
@@ -31,17 +31,16 @@ define([
31
32
this.itemId = this.itemId || 'orderLevel';
33
model = new GiftMessage(this.itemId);
34
- giftOptions.addOption(model);
35
this.model = model;
+ this.isResultBlockVisible();
36
+ giftOptions.addOption(model);
37
38
this.model.getObservable('isClear').subscribe(function (value) {
39
if (value == true) { //eslint-disable-line eqeqeq
40
self.formBlockVisibility(false);
41
self.model.getObservable('alreadyAdded')(true);
42
}
43
});
-
44
- this.isResultBlockVisible();
45
},
46
47
/**
0 commit comments