Skip to content

Commit

Permalink
fixed button line on dashbord page to device detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
CropWatchDevelopment committed May 5, 2024
1 parent 7b3b0fe commit fbdaa72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/ui/dashboardCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
</div>
{/each}
<Button
on:click={() => goto(`devices/${device.data.dev_eui}/data`)}
on:click={() => goto(`app/devices/${device.data.dev_eui}/data`)}
variant="fill-light"
color="primary"
class="w-full"
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/ui/sensors/CW_SS_TME.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@
<p class="text-slate-500">Last Seen: <Duration start={lastSeen} totalUnits={1} /> ago</p>
</div>
</div>
<DarkCard title={'Temperature'} value={temperature} optimalValue={-20} unit={'ºC'}>
<DarkCard title={'Temperature'} value={temperature} optimalValue={20} unit={'ºC'}>
<div class="chart" use:Highcharts={tempConfig} />
{data.length}
</DarkCard>

<DarkCard title={'Moisture'} value={moisture} optimalValue={-20} unit={'%'}>
<DarkCard title={'Moisture'} value={moisture} optimalValue={40} unit={'%'}>
<div class="chart" use:Highcharts={moistureConfig} />
</DarkCard>

Expand Down

0 comments on commit fbdaa72

Please sign in to comment.