client-app/app/components/page-nav.js in logster-2.6.1 vs client-app/app/components/page-nav.js in logster-2.6.2
- old
+ new
@@ -16,9 +16,12 @@
}),
actions: {
takeStep(dir) {
const amount = dir === "back" ? -1 : 1;
+ if (amount === 1 && this.disableForwardButtons) return;
+ if (amount === -1 && this.disableBackButtons) return;
+
const newPos = this.position + amount;
this.navigate(newPos);
},
bigJump(dir) {