Skip to content

Commit 20f607b

Browse files
committed
Adding recurring date info alert prop
1 parent 7f6a178 commit 20f607b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

components/todoist/actions/create-task/create-task.mjs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ export default {
44
key: "todoist-create-task",
55
name: "Create Task",
66
description: "Creates a task. [See the docs here](https://developer.todoist.com/rest/v2/#create-a-new-task)",
7-
version: "0.0.4",
7+
version: "0.0.5",
88
type: "action",
99
props: {
1010
todoist,
11+
recurringInfoLabel: {
12+
type: "alert",
13+
alertType: "info",
14+
content: "To create a recurring task, use the `Due String` prop with a value such as `every week`. [See the Todoist documentation on recurring dates](https://www.todoist.com/help/articles/introduction-to-recurring-dates-YUYVJJAV) for more information.",
15+
},
1116
content: {
1217
propDefinition: [
1318
todoist,
@@ -120,7 +125,6 @@ export default {
120125
dueDate,
121126
dueDatetime,
122127
dueLang,
123-
dueIsRecurring,
124128
assignee,
125129
} = this;
126130
const data = {
@@ -136,7 +140,6 @@ export default {
136140
due_date: dueDate,
137141
due_datetime: dueDatetime,
138142
due_lang: dueLang,
139-
due_is_recurring: dueIsRecurring,
140143
assignee_id: assignee,
141144
};
142145
const resp = await this.todoist.createTask({

0 commit comments

Comments
 (0)