Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit 5ab5421

Browse files
committed
Release version 2.0.21
ISSUE: CS-4647
1 parent 9f92a64 commit 5ab5421

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Controller/Adminhtml/Configuration/Save.php

-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,5 @@ public function execute()
5050
$this->scopeConfig->reinit();
5151

5252
return $this->_redirect("sendcloud/configuration/index/store/$storeId");
53-
5453
}
5554
}

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "magento2-module",
55
"homepage": "https://www.sendcloud.com/",
66
"license": "Apache-2.0",
7-
"version": "2.0.20",
7+
"version": "2.0.21",
88
"require": {
99
"php": "~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.1.0|~8.2.0"
1010
},

etc/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="SendCloud_SendCloud" setup_version="2.0.20">
3+
<module name="SendCloud_SendCloud" setup_version="2.0.21">
44
<sequence>
55
<module name="Magento_Shipping"/>
66
<module name="Magento_Multishipping"/>

view/frontend/web/js/servicePoint/mixins/placeOrder.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ define([
99
* @returns {boolean}
1010
*/
1111
validateServicePoint: function () {
12-
if (quote.shippingMethod().method_code === 'sendcloud' && !quote.getExtensionAttributes()) {
12+
if (quote.shippingMethod().method_code === 'sendcloud' &&
13+
(!quote.getExtensionAttributes() || !quote.getExtensionAttributes().sendcloud_service_point_id)) {
1314
return false;
1415
}
1516
return true;

0 commit comments

Comments
 (0)