mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed frontend crashing when database is empty
This commit is contained in:
@ -53,10 +53,15 @@ App.Presenters.PostCommentListPresenter = function(
|
||||
.then(function(response) {
|
||||
comments = response.json.data;
|
||||
render();
|
||||
}).fail(function() {
|
||||
console.log(arguments);
|
||||
});
|
||||
}
|
||||
})
|
||||
.fail(function() { console.log(new Error(arguments)); });
|
||||
.fail(function() {
|
||||
console.log(arguments);
|
||||
loaded();
|
||||
});
|
||||
}
|
||||
|
||||
function render() {
|
||||
|
Reference in New Issue
Block a user