Skip to content

Commit 8a8f844

Browse files
[update] confirmDeletion - only boolean values
1 parent 6f88338 commit 8a8f844

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/api/config/js_kanban_cardshape_config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cardShape?: {
2020
attached?: boolean | { show?: boolean },
2121
cover?: boolean | { show?: boolean },
2222
comments?: boolean | { show?: boolean },
23-
confirmDeletion?: boolean | { show?: boolean },
23+
confirmDeletion?: boolean,
2424
start_date?: boolean | {
2525
show?: boolean,
2626
format?: string
@@ -232,7 +232,7 @@ const defaultCardShape = {
232232
start_date: { show: false },
233233
end_date: { show: false },
234234
users: { show: false },
235-
confirmDeletion: { show: false },
235+
confirmDeletion: false,
236236
priority: {
237237
show: false,
238238
values: defaultPriorities

docs/api/config/js_kanban_columnshape_config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ columnShape?: {
3535
collapsedTemplate?: template(column => {
3636
return "The HTML template of the column header in the collapsed state";
3737
}),
38-
confirmDeletion?: boolean | { show?: boolean }
38+
confirmDeletion?: boolean
3939
};
4040
~~~
4141

@@ -182,7 +182,7 @@ const columnShape = {
182182
})</div>
183183
</div>`;
184184
}),
185-
confirmDeletion: { show: true }
185+
confirmDeletion: true
186186
};
187187
188188
new kanban.Kanban("#root", {

docs/api/config/js_kanban_editorshape_config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ editorShape?: [
134134
format?: string,
135135
placement?: "page" | "editor",
136136
html?: boolean,
137-
confirmDeletion?: boolean | { show?: boolean }
137+
confirmDeletion?: boolean
138138
},
139139

140140
// for a "links" type only
141141
config?: {
142-
confirmDeletion?: boolean | { show?: boolean }
142+
confirmDeletion?: boolean
143143
},
144144
}, { /* other control settings */ }
145145
];

docs/api/config/js_kanban_rowshape_config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ rowShape?: {
2727
] | ({ row, rowIndex, rows, store }) => array | boolean
2828
},
2929
css?: (row, cards) => string,
30-
confirmDeletion?: boolean | { show?: boolean }
30+
confirmDeletion?: boolean
3131
};
3232
~~~
3333

0 commit comments

Comments
 (0)