From 795ce1fc150a0c4cd52a6b4fda2cfbda93ea9f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Terje=20Ols=C3=B8ybakk?= Date: Thu, 14 Oct 2021 08:46:17 +0200 Subject: [PATCH] #1728 visUpublisert - defaultvalue = 2 --- src/AppSettings/AppFunksjoner/fetchMeta.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AppSettings/AppFunksjoner/fetchMeta.js b/src/AppSettings/AppFunksjoner/fetchMeta.js index 81e4af6d..4b27e4d6 100644 --- a/src/AppSettings/AppFunksjoner/fetchMeta.js +++ b/src/AppSettings/AppFunksjoner/fetchMeta.js @@ -28,7 +28,8 @@ export default function fetchMeta(location, place) { } function filterUnreleased(kart) { - const visUpublisert = parseInt(localStorage.visUpublisert) || 0; + // const visUpublisert = parseInt(localStorage.visUpublisert) || 0; + const visUpublisert = parseInt(localStorage.visUpublisert) || 2; const kf = {}; Object.keys(kart.format).forEach((fkey) => { const format = kart.format[fkey];