diff --git a/Frontend/_historyData2.html b/Frontend/_historyData2.html
index 7c36816..6974d7c 100644
--- a/Frontend/_historyData2.html
+++ b/Frontend/_historyData2.html
@@ -208,7 +208,6 @@
hisFirst = true;
var device_list = [];
$(function () {
- console.log();
flatpickr(".selectDate", {
locale: "zh_tw",
dateFormat: "Y-m-d",
@@ -273,10 +272,8 @@
$("[name=subRadio]:checked").parent().removeClass("btn-secondary");
$("[name=subRadio]:checked").parent().addClass("btn-info");
subTag = subRadios.val(); //sub tag
- if (pageAct.selectedSub !== subTag) {
- pageAct.selectedSub = subTag;
+ pageAct.selectedSub = subTag;
await getSidebar(subTag);
- }
result = true;
}