File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ In the following code snippet you can see the implementation details:
203203~~~js {}
204204// initialize kanban
205205const kanbanInstance = new kanban.Kanban (... );
206- const restProvider = new kanban.RestProvider (url);
206+ const restProvider = new kanban.RestDataProvider (url);
207207const idResolver = restProvider.getIDResolver();
208208const TypeCard = 1;
209209const TypeRow = 2;
@@ -214,7 +214,7 @@ const cardsHandler = (obj: any) => {
214214 obj .card .row = idResolver (obj .card .row , TypeRow);
215215 obj .card .column = idResolver (obj .card .column , TypeColumn);
216216 switch (obj .type ) {
217- " add-card" :
217+ case " add-card" :
218218 kanbanInstance .api .exec (" add-card" , {
219219 card: obj .card ,
220220 select: false ,
You can’t perform that action at this time.
0 commit comments