Skip to content

Commit

Permalink
Update syncStatusLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
nortonandreev committed Sep 6, 2024
1 parent 39c42e1 commit b581788
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions web-wallet/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules
/.svelte-kit
/package
.env
.env.\*
!.env.example

# Ignore files for PNPM, NPM and YARN
Expand Down
6 changes: 3 additions & 3 deletions web-wallet/src/routes/(app)/dashboard/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
/** @type {import('./$types').LayoutData} */
export let data;
/** @type {null | string} */
let syncStatusLabel = null;
/** @type {string} */
let syncStatusLabel = "";
/** @type {string} */
let networkStatusIconPath = "";
Expand All @@ -41,7 +41,7 @@
$: if (syncStatus.isInProgress) {
iconVariant = "warning";
networkStatusIconPath = mdiTimerSand;
syncStatusLabel = null;
syncStatusLabel = "";
} else if (syncStatus.error) {
iconVariant = "error";
networkStatusIconPath = mdiAlertOutline;
Expand Down

0 comments on commit b581788

Please sign in to comment.