Permalink
Browse files

fix bug

  • Loading branch information...
peh committed Oct 10, 2018
1 parent 0cbb473 commit 477daa00f850f3c9ba24aea30d5e3bc48a46b1cf
@@ -70,9 +70,10 @@ export default class ErrorList extends BaseComponent {
let resp = await this.getErrorService().list(this.max, this.offset, this.getQuery(), this.selectedApplication);
let list = resp.result;
this.total = resp.total;
if (list.length < 1 && offset > 0) {
if (list.length < 1 && this.offset > 0) {
// we are clearly on a page where we should not be, reset the state and load again
this.navigate("/errors/")
this.errors = [];
} else {
this.errors = list;
this.loading = false;
@@ -31,7 +31,6 @@ class EntryCleanupService {
}
log.debug "$app: $group: found ${entryIds.size()} entries"
if (entryIds) {
// log.info "deleting ${entryIds.size()} for $group.entryGroupId of $app.name"
entryIds.each {
jesqueService.enqueue(EntryDeleteJob.queueName, EntryDeleteJob, [it, true])
}
@@ -26,3 +26,5 @@ services:
- MYSQL_DATABASE=errbuddy
ports:
- 127.0.0.1:3306:3306
volumes:
- .data/mysql:/var/lib/mysql:rw

0 comments on commit 477daa0

Please sign in to comment.