|
@ -216,6 +216,7 @@ loadPost(_id) { |
|
|
self.update({"loading" : true}); |
|
|
self.update({"loading" : true}); |
|
|
if (!_id) { |
|
|
if (!_id) { |
|
|
console.log("couldn't load the post"); |
|
|
console.log("couldn't load the post"); |
|
|
|
|
|
self.update({"loading" : false}); |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
axios.get(`/blog/getpost/${_id}`) |
|
|
axios.get(`/blog/getpost/${_id}`) |
|
|