diff --git a/assets/js/dashboard.js b/assets/js/dashboard.js index a172b05264d4..693e17986649 100644 --- a/assets/js/dashboard.js +++ b/assets/js/dashboard.js @@ -31,7 +31,8 @@ if (container) { background: container.dataset.background, isDbip: container.dataset.isDbip === 'true', flags: JSON.parse(container.dataset.flags), - validIntervalsByPeriod: JSON.parse(container.dataset.validIntervalsByPeriod) + validIntervalsByPeriod: JSON.parse(container.dataset.validIntervalsByPeriod), + shared: !!container.dataset.sharedLinkAuth, } const loggedIn = container.dataset.loggedIn === 'true' diff --git a/assets/js/dashboard/filters.js b/assets/js/dashboard/filters.js index 62bc2d2d9117..0b26a158dc34 100644 --- a/assets/js/dashboard/filters.js +++ b/assets/js/dashboard/filters.js @@ -84,7 +84,7 @@ function filterDropdownOption(site, option) {