Skip to content

Commit

Permalink
fix: Correct mode display
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Junk committed Nov 15, 2023
1 parent da206b5 commit f2d1aa4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@
$: if (mode === MODE.SINGLE) {
headerText = "Advisory";
} else {
if ($appStore.currentFeed) headerText = "ROLIE";
if ($appStore.providerMetadata) headerText = "Provider Metadata";
if ($appStore.currentFeed) {
headerText = "ROLIE-Feed";
} else if ($appStore.providerMetadata) {
headerText = "Provider Metadata";
} else {
headerText = "Overview";
}
}
$: mode = $appStore.ui.appMode;
$: {
Expand Down

0 comments on commit f2d1aa4

Please sign in to comment.