Fix local store detection and related issues

- Add localStore into the stash because it's used in templates
- Hide the Channels button for non-local stores because the link 404s
  anyway
- Fix a style issue when having popovers in dark mode
This commit is contained in:
Janne Heß
2022-02-13 14:24:36 +01:00
committed by ahuston-0
parent 329816aec4
commit fdcb6b4a1b
3 changed files with 5 additions and 4 deletions

View File

@@ -57,6 +57,7 @@ sub begin :Private {
$c->stash->{tracker} = defined $c->config->{tracker} ? $c->config->{tracker} : "";
$c->stash->{flashMsg} = $c->flash->{flashMsg};
$c->stash->{successMsg} = $c->flash->{successMsg};
$c->stash->{localStore} = isLocalStore;
$c->stash->{isPrivateHydra} = $c->config->{private} // "0" ne "0";