@tap-payments/auth-jsconnect 2.8.88-development → 2.8.89-development
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -102,7 +102,7 @@ var ActivityList = function (_a) {
|
|
|
102
102
|
var controlValue = activitiesControl.field.value;
|
|
103
103
|
var selectedActivity = data.activitiesData.activities;
|
|
104
104
|
React.useEffect(function () {
|
|
105
|
-
if ((selectedActivity === null || selectedActivity === void 0 ? void 0 : selectedActivity.length) !== (controlValue === null || controlValue === void 0 ? void 0 : controlValue.length))
|
|
105
|
+
if ((selectedActivity === null || selectedActivity === void 0 ? void 0 : selectedActivity.length) && selectedActivity.length !== (controlValue === null || controlValue === void 0 ? void 0 : controlValue.length))
|
|
106
106
|
setValue('activities', selectedActivity);
|
|
107
107
|
}, [selectedActivity]);
|
|
108
108
|
var handleOpenActivityMenu = function (event) {
|