From 78a403c450425ea86fad7df5737a4a53ed4c6714 Mon Sep 17 00:00:00 2001
From: donal <donalspring@gmail.com>
Date: Mon, 16 Apr 2018 12:57:45 +0200
Subject: [PATCH] Template for TDD

---
 src/store/actions.js |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/store/actions.js b/src/store/actions.js
index 3bf79e2..3a9abec 100644
--- a/src/store/actions.js
+++ b/src/store/actions.js
@@ -98,14 +98,10 @@
   updateTodo({ commit, state }, { id, important }) {
     let i = state.todos.findIndex(todo => todo._id === id);
     if (important) {
-      commit("MARK_TODO_IMPORTANT", i);
+      // TODO - add commit imporant here!
     } else {
       commit("MARK_TODO_COMPLETED", i);
     }
-    console.info(
-      "TESTSY MC TESTFACES",
-      config.todoEndpoint + "/" + state.todos[i]._id
-    );
     // Fire and forget style backend update ;)
     return axios
       .put(config.todoEndpoint + "/" + state.todos[i]._id, state.todos[i])

--
Gitblit v1.9.3