Refactor map creation / destruction
All checks were successful
Deploy Spot / deploy (push) Successful in 41s

This commit is contained in:
2026-05-20 15:14:06 +02:00
parent f63f5c240e
commit c5529d5f94
6 changed files with 187 additions and 140 deletions

View File

@@ -62,7 +62,7 @@
return '#'+[this.hash.page, this.project.currProject.codename, this.options.type, this.options.id].join(this.consts.hash_sep);
},
modeHisto() {
return (this.project.currProject.mode == this.consts.modes.histo);
return (this.project?.currProject?.mode == this.consts.modes.histo);
},
relTime() {
return this.modeHisto?(this.options.formatted_time || '').substr(0, 10):this.options.relative_time;