mirror of https://github.com/hykilpikonna/AquaDX
[F] Fix "no-data"
parent
284d366b44
commit
9565d48b04
|
@ -115,7 +115,7 @@
|
|||
<div class="trend">
|
||||
<!-- ChartJS cannot be fully responsive unless there is a parent div that's independent from its size and helps it determine its size -->
|
||||
<div class="chartjs-box-reference">
|
||||
{#if d.trend.length === 0}
|
||||
{#if d.trend.length <= 1}
|
||||
<div class="no-data">{t("UserHome.NoData", { days: TREND_DAYS })}</div>
|
||||
{:else}
|
||||
<Line data={{
|
||||
|
|
Loading…
Reference in New Issue