diff --git a/src/App.vue b/src/App.vue index 138a586..32d350e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -25,7 +25,7 @@ registerSW({ onMounted(() => { loadStockDataFromStorage(); - showMigrationInfo(); + handleMigrationInfo(); store.setupAPIData(); }); @@ -37,9 +37,9 @@ watchEffect(() => { } }); -function showMigrationInfo() { +function handleMigrationInfo() { // Show only on old domain - if (location.hostname !== 'pojazdownik-td2.web.app' && location.hostname !== 'localhost') return; + if (location.hostname !== 'pojazdownik-td2.web.app') return; const showInfo = localStorage.getItem('showMigrationInfo'); diff --git a/src/components/app/MigrationInfo.vue b/src/components/app/MigrationInfo.vue index a5c6b27..66805ea 100644 --- a/src/components/app/MigrationInfo.vue +++ b/src/components/app/MigrationInfo.vue @@ -1,12 +1,26 @@ - +