Skip to content

Commit

Permalink
Minor Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kishen Nagaraju committed Jan 17, 2023
1 parent f13bbb1 commit 1b04aaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/KanbanBoard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export default {
this.columns[i].tasks.push(task);
}
}
this.valueChange = true;
},
addColumn () {
const column = {
Expand Down Expand Up @@ -156,7 +157,7 @@ export default {
console.log("Successfully Posted!");
})
.catch(error => {
console.log("Failed to Post Data!");
console.log("Failed to Post Data!", error);
});
this.valueChange = false;
Expand Down
1 change: 1 addition & 0 deletions src/components/KanbanColumn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default {
const task = {
id: nanoid(),
title: this.title,
status: 1,
createdAt: new Date()
};
this.$emit('add-task', { columnId, task });
Expand Down

0 comments on commit 1b04aaf

Please sign in to comment.