Skip to content

Commit e267c13

Browse files
committed
no data
1 parent bd7ad2f commit e267c13

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/web_timer_main.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,13 @@ function getData({
418418

419419
// no data
420420
if (!allData.length) {
421+
chartData.push({
422+
website: t({ vi: "Không có dữ liệu", en: "No data" }),
423+
value: 1,
424+
color: "gray",
425+
percentage: 0,
426+
});
427+
421428
guide.innerText = t({
422429
vi: `Không có dữ liệu`,
423430
en: `No data`,

0 commit comments

Comments
 (0)