+
-
-
- Date
- |
-
- Weight
- |
-
+
+ Date |
+ Weight |
+
-
- {#each items as f}
-
- {/each}
+
+ {#each items as f}
+
+ {/each}
-
-
+
diff --git a/frontend/src/lib/router/Router.svelte b/frontend/src/lib/router/Router.svelte
index 38c34e3..7acee84 100644
--- a/frontend/src/lib/router/Router.svelte
+++ b/frontend/src/lib/router/Router.svelte
@@ -5,6 +5,11 @@
import Weekly from './routes/Energy/Weekly.svelte'
import Monthly from './routes/Energy/Monthly.svelte'
import Yearly from './routes/Energy/Yearly.svelte'
+ import Weight from './routes/Weight/Weight.svelte'
+ // import WDaily from './routes/Weight/WDaily.svelte'
+ // import WWeekly from './routes/Weight/WWeekly.svelte'
+ // import WMonthly from './routes/Weight/WMonthly.svelte'
+ // import WYearly from './routes/Weight/WYearly.svelte'
const routes = {
'/': Energy,
@@ -12,6 +17,11 @@
'/Energy/weekly': Weekly,
'/Energy/monthly': Monthly,
'/Energy/yearly': Yearly,
+ '/Weight': Weight,
+ // '/Weight/daily': WDaily,
+ // '/Weight/weekly': WWeekly,
+ // '/Weight/monthly': WMonthly,
+ // '/Weight/yearly': WYearly
}
diff --git a/frontend/src/lib/router/routes/Weight/Weight.svelte b/frontend/src/lib/router/routes/Weight/Weight.svelte
index 866938e..7224a68 100644
--- a/frontend/src/lib/router/routes/Weight/Weight.svelte
+++ b/frontend/src/lib/router/routes/Weight/Weight.svelte
@@ -1,8 +1,18 @@
-
+ {#if forceUpdate}
+
+ {:else}
+
+ {/if}