Fix back button
All checks were successful
Deploy Spot / deploy (push) Successful in 36s

This commit is contained in:
2026-06-02 11:22:28 +02:00
parent 9ce25e73f0
commit 87a991eaea
5 changed files with 34 additions and 18 deletions

View File

@@ -38,7 +38,7 @@
focusZoomLevel: 15
};
},
inject: ['api', 'lang', 'project', 'feed', 'user', 'map', 'hash', 'consts', 'isMobile'],
inject: ['api', 'lang', 'project', 'feed', 'user', 'map', 'hash', 'consts', 'isMobile', 'getAnchor'],
computed: {
postClass() {
let sHeaderLess = this.options.headerless?' headerless':'';
@@ -60,7 +60,7 @@
return this.mouseOverDrill?null:'footprint';
},
anchorLink() {
return '#'+[this.hash.page, this.project.project.codename, this.options.type, this.options.id].join(this.consts.hash_sep);
return this.getAnchor([this.hash.page, this.project.project.codename, this.options.type, this.options.id]);
},
modeHisto() {
return (this.project?.project?.mode == this.consts.modes.histo);