Browse Source

stop loading icon when it couldn't load the post

pull/1/head
wes 7 years ago
parent
commit
20e3a30081
  1. 1
      src/scripts/editor.tag

1
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}`)

Loading…
Cancel
Save