mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-28 12:55:36 -04:00
feat: added components
This commit is contained in:
parent
46cca88e22
commit
5a9f303e80
2 changed files with 1 additions and 11 deletions
|
@ -10,17 +10,6 @@ function createTodo(title, description, dueDate, pomodoros) {
|
|||
return _todo;
|
||||
}
|
||||
|
||||
function editTodo(_todo, title, description, dueDate, pomodoros) {
|
||||
if (description) _todo.description = description;
|
||||
if (dueDate) _todo.dueDate = dueDate;
|
||||
if (pomodoros) _todo.pomodors = pomodoros;
|
||||
|
||||
}
|
||||
|
||||
function deleteTodo() {
|
||||
|
||||
}
|
||||
|
||||
function createProject(name) {
|
||||
let project = {
|
||||
name: name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue