* Hide button when hasn't filter.

This commit is contained in:
zhouxin
2023-11-24 10:23:08 +08:00
parent dd9b1de1cc
commit 8bfdaf2b77
+2 -2
View File
@@ -188,7 +188,7 @@ $fnGenerateQueryForm = function() use($metricRecordType, $current)
(
set::width('full'),
$formGroups,
formGroup
!empty($formGroups) ? formGroup
(
setClass('query-btn'),
btn
@@ -197,7 +197,7 @@ $fnGenerateQueryForm = function() use($metricRecordType, $current)
set::text($this->lang->metric->query->action),
set::onclick("window.handleQueryClick($current->id, 'single')")
)
)
) : null
),
set::actions(array())
);