trepur_components 0.2.64 → 0.2.65
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.
|
@@ -106,10 +106,22 @@ const TextAndTitle = _ref => {
|
|
|
106
106
|
|
|
107
107
|
const handleButtonSave = () => {
|
|
108
108
|
const arr = [];
|
|
109
|
-
arr.push(
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
arr.push({
|
|
110
|
+
key: 'title',
|
|
111
|
+
value: componentData.title.text
|
|
112
|
+
});
|
|
113
|
+
arr.push({
|
|
114
|
+
key: 'textLineOne',
|
|
115
|
+
value: componentData.textLineOne.text
|
|
116
|
+
});
|
|
117
|
+
arr.push({
|
|
118
|
+
key: 'textLineTwo',
|
|
119
|
+
value: componentData.textLineTwo.text
|
|
120
|
+
});
|
|
121
|
+
arr.push({
|
|
122
|
+
key: 'textLineThree',
|
|
123
|
+
value: componentData.textLineThree.text
|
|
124
|
+
});
|
|
113
125
|
toggleEditState();
|
|
114
126
|
onSave(arr, id);
|
|
115
127
|
setIsHovering(false);
|