* Hide metric browse page.

This commit is contained in:
songchenxuan
2023-09-25 12:15:20 +08:00
parent d3215ef0a6
commit dd90e50f48
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -214,12 +214,14 @@ toolbar
set::url(helper::createLink('metric', 'preview', "scope=$exchangeScope&viewType=single&metricID={$current->id}")),
$lang->metric->viewType->single,
),
common::hasPriv('metric', 'preview') ? btn
/*
common::hasPriv('metric', 'browse') ? btn
(
setClass('btn primary'),
set::url(helper::createLink('metric', 'browse')),
$lang->metric->manage
) : null,
*/
);
$metricCheckItems = array();
+3 -1
View File
@@ -116,12 +116,14 @@ toolbar
set::url(helper::createLink('metric', 'preview', "scope=$exchangeScope&viewType=multiple&metricID={$current->id}")),
$lang->metric->viewType->multiple,
),
common::hasPriv('metric', 'preview') ? btn
/*
common::hasPriv('metric', 'browse') ? btn
(
setClass('btn primary'),
set::url(helper::createLink('metric', 'browse')),
$lang->metric->manage
) : null,
*/
);
$metricRecordType = $this->metric->getMetricRecordType(current($resultData));