mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-12 19:57:28 +08:00
[F] Fix "no-data"
This commit is contained in:
@@ -115,7 +115,7 @@
|
|||||||
<div class="trend">
|
<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 -->
|
<!-- 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">
|
<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>
|
<div class="no-data">{t("UserHome.NoData", { days: TREND_DAYS })}</div>
|
||||||
{:else}
|
{:else}
|
||||||
<Line data={{
|
<Line data={{
|
||||||
|
|||||||
Reference in New Issue
Block a user