Merge pull request #1702 from woocommerce/PCP-2017-subtotal-mismatch-line-name-shows-on-account-settings-page-when-merchant-is-disconnected

Subtotal mismatch line name shows on Account settings page when merchant is disconnected (2017)
This commit is contained in:
Emili Castells 2023-09-18 14:02:10 +02:00 committed by GitHub
commit af60282678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,9 +27,9 @@ class SubElementsHandler {
value = (value !== null ? value.toString() : value);
if (this.values.indexOf(value) !== -1) {
$elements.show();
$elements.removeClass('hide');
} else {
$elements.hide();
$elements.addClass('hide');
}
}