mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 11:22:10 +00:00
fix: back button behaviour in preview (#1573)
This commit is contained in:
parent
b6a51bed51
commit
deabc80fd7
@ -241,11 +241,11 @@ export default {
|
|||||||
},
|
},
|
||||||
prev() {
|
prev() {
|
||||||
this.hoverNav = false;
|
this.hoverNav = false;
|
||||||
this.$router.push({ path: this.previousLink });
|
this.$router.replace({ path: this.previousLink });
|
||||||
},
|
},
|
||||||
next() {
|
next() {
|
||||||
this.hoverNav = false;
|
this.hoverNav = false;
|
||||||
this.$router.push({ path: this.nextLink });
|
this.$router.replace({ path: this.nextLink });
|
||||||
},
|
},
|
||||||
key(event) {
|
key(event) {
|
||||||
if (this.show !== null) {
|
if (this.show !== null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user