* Hide button when hasn't filter.

This commit is contained in:
zhouxin
2023-11-24 10:42:28 +08:00
parent ddc720229a
commit 2f8eabeb75
2 changed files with 4 additions and 4 deletions
@@ -64,7 +64,7 @@ $fnGenerateQueryForm = function() use($metricRecordType, $metric, $metricID)
(
set::width('full'),
$formGroups,
formGroup
!empty($formGroups) ? formGroup
(
setClass('query-btn'),
btn
@@ -73,7 +73,7 @@ $fnGenerateQueryForm = function() use($metricRecordType, $metric, $metricID)
set::text($this->lang->metric->query->action),
set::onclick("window.handleQueryClick($metricID, 'multiple')")
)
)
) : null
),
set::actions(array())
);
+2 -2
View File
@@ -274,7 +274,7 @@ $fnGenerateQueryForm = function() use($metricRecordType, $current)
(
set::width('full'),
$formGroups,
formGroup
!empty($formGroups) ? formGroup
(
setClass('query-btn'),
btn
@@ -283,7 +283,7 @@ $fnGenerateQueryForm = function() use($metricRecordType, $current)
set::text($this->lang->metric->query->action),
set::onclick("window.handleQueryClick($current->id, 'multiple')")
)
)
) : null
),
set::actions(array())
);