From 20e3a30081e3e175f514c615ad214c5886c9eaa9 Mon Sep 17 00:00:00 2001 From: wes Date: Thu, 22 Jun 2017 20:28:29 -0400 Subject: [PATCH] stop loading icon when it couldn't load the post --- src/scripts/editor.tag | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/editor.tag b/src/scripts/editor.tag index 6a10c98..f96fe17 100644 --- a/src/scripts/editor.tag +++ b/src/scripts/editor.tag @@ -216,6 +216,7 @@ loadPost(_id) { self.update({"loading" : true}); if (!_id) { console.log("couldn't load the post"); + self.update({"loading" : false}); return false; } axios.get(`/blog/getpost/${_id}`)