@sprucelabs/spruce-appointment-utils 18.0.2 → 19.0.0
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.
|
@@ -19,7 +19,7 @@ class EditOverrideDetailsCardViewController extends heartwood_view_controllers_1
|
|
|
19
19
|
return this.Controller('form', (0, heartwood_view_controllers_1.buildForm)({
|
|
20
20
|
id: 'editOverrideForm',
|
|
21
21
|
schema,
|
|
22
|
-
|
|
22
|
+
shouldRenderCancelButton: false,
|
|
23
23
|
onSubmit: ({ values }) => {
|
|
24
24
|
this.submitHandler(values.price, this.durationListVc.getTimeBlocks());
|
|
25
25
|
},
|
|
@@ -25,7 +25,7 @@ class EditTimeBlockTitleCardViewController extends heartwood_view_controllers_1.
|
|
|
25
25
|
return this.Controller('form', (0, heartwood_view_controllers_1.buildForm)({
|
|
26
26
|
id: 'titleForm',
|
|
27
27
|
schema,
|
|
28
|
-
|
|
28
|
+
shouldRenderCancelButton: false,
|
|
29
29
|
onSubmit: ({ values }) => {
|
|
30
30
|
this.onSubmitHandler(values.title ?? undefined);
|
|
31
31
|
},
|
|
@@ -28,7 +28,7 @@ class EditOverrideDetailsCardViewController extends AbstractViewController {
|
|
|
28
28
|
return this.Controller('form', buildForm({
|
|
29
29
|
id: 'editOverrideForm',
|
|
30
30
|
schema,
|
|
31
|
-
|
|
31
|
+
shouldRenderCancelButton: false,
|
|
32
32
|
onSubmit: ({ values }) => {
|
|
33
33
|
this.submitHandler(values.price, this.durationListVc.getTimeBlocks());
|
|
34
34
|
},
|
|
@@ -23,7 +23,7 @@ class EditTimeBlockTitleCardViewController extends AbstractViewController {
|
|
|
23
23
|
return this.Controller('form', buildForm({
|
|
24
24
|
id: 'titleForm',
|
|
25
25
|
schema,
|
|
26
|
-
|
|
26
|
+
shouldRenderCancelButton: false,
|
|
27
27
|
onSubmit: ({ values }) => {
|
|
28
28
|
var _a;
|
|
29
29
|
this.onSubmitHandler((_a = values.title) !== null && _a !== void 0 ? _a : undefined);
|