Fix: Karten-Pin-Setzen erfordert Login — Weiterleitung zu Welcome
SW by-v573, APP_VER 550
This commit is contained in:
parent
a16f0268cc
commit
b17b061496
3 changed files with 3 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
Router, State-Management, Navigation, Initialisierung.
|
Router, State-Management, Navigation, Initialisierung.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const APP_VER = '549'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
const APP_VER = '550'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||||
const APP_VERSION = '1.1.4'; // ← semantische Version, wird bei make release gesetzt
|
const APP_VERSION = '1.1.4'; // ← semantische Version, wird bei make release gesetzt
|
||||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -807,6 +807,7 @@ window.Page_map = (() => {
|
||||||
// Marker setzen (Placement-Mode)
|
// Marker setzen (Placement-Mode)
|
||||||
// ----------------------------------------------------------
|
// ----------------------------------------------------------
|
||||||
function _togglePlacementMode() {
|
function _togglePlacementMode() {
|
||||||
|
if (!_appState?.user) { App.navigate('welcome'); return; }
|
||||||
_placingMarker = !_placingMarker;
|
_placingMarker = !_placingMarker;
|
||||||
const btn = document.getElementById('map-pin-btn');
|
const btn = document.getElementById('map-pin-btn');
|
||||||
if (_placingMarker) {
|
if (_placingMarker) {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Offline-Cache + Push Notifications + Tile-Cache
|
Offline-Cache + Push Notifications + Tile-Cache
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const CACHE_VERSION = 'by-v572';
|
const CACHE_VERSION = 'by-v573';
|
||||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||||
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue