@sprucelabs/spruce-calendar-components 20.5.5 → 20.5.6
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.
|
@@ -38,6 +38,7 @@ export default class EventDateTimeToolViewController extends AbstractViewControl
|
|
|
38
38
|
let shouldBail = false;
|
|
39
39
|
const formattedDestination = dateUtil.format(dateTimeMs, 'MMM do');
|
|
40
40
|
const dlg = this.renderInDialog({
|
|
41
|
+
shouldShowCloseButton: false,
|
|
41
42
|
header: {
|
|
42
43
|
title: 'Which would you like to do?',
|
|
43
44
|
},
|
|
@@ -47,14 +48,14 @@ export default class EventDateTimeToolViewController extends AbstractViewControl
|
|
|
47
48
|
buttons: [
|
|
48
49
|
{
|
|
49
50
|
id: 'move',
|
|
50
|
-
label: `Move this event to ${formattedDestination}
|
|
51
|
+
label: `Move this event to ${formattedDestination}.`,
|
|
51
52
|
onClick: () => __awaiter(this, void 0, void 0, function* () {
|
|
52
53
|
yield dlg.hide();
|
|
53
54
|
}),
|
|
54
55
|
},
|
|
55
56
|
{
|
|
56
57
|
id: 'navigate',
|
|
57
|
-
label: `Deselect event and navigate to ${formattedDestination}
|
|
58
|
+
label: `Deselect event and navigate to ${formattedDestination}.`,
|
|
58
59
|
onClick: () => __awaiter(this, void 0, void 0, function* () {
|
|
59
60
|
shouldBail = true;
|
|
60
61
|
const { calendarVc } = this.getContext();
|
|
@@ -30,6 +30,7 @@ class EventDateTimeToolViewController extends heartwood_view_controllers_1.Abstr
|
|
|
30
30
|
let shouldBail = false;
|
|
31
31
|
const formattedDestination = calendar_utils_1.dateUtil.format(dateTimeMs, 'MMM do');
|
|
32
32
|
const dlg = this.renderInDialog({
|
|
33
|
+
shouldShowCloseButton: false,
|
|
33
34
|
header: {
|
|
34
35
|
title: 'Which would you like to do?',
|
|
35
36
|
},
|
|
@@ -39,14 +40,14 @@ class EventDateTimeToolViewController extends heartwood_view_controllers_1.Abstr
|
|
|
39
40
|
buttons: [
|
|
40
41
|
{
|
|
41
42
|
id: 'move',
|
|
42
|
-
label: `Move this event to ${formattedDestination}
|
|
43
|
+
label: `Move this event to ${formattedDestination}.`,
|
|
43
44
|
onClick: async () => {
|
|
44
45
|
await dlg.hide();
|
|
45
46
|
},
|
|
46
47
|
},
|
|
47
48
|
{
|
|
48
49
|
id: 'navigate',
|
|
49
|
-
label: `Deselect event and navigate to ${formattedDestination}
|
|
50
|
+
label: `Deselect event and navigate to ${formattedDestination}.`,
|
|
50
51
|
onClick: async () => {
|
|
51
52
|
shouldBail = true;
|
|
52
53
|
const { calendarVc } = this.getContext();
|