* Fix priv with button browse.

This commit is contained in:
qixinzhi
2024-03-27 17:23:12 +08:00
committed by liyang
parent ce9abaa88b
commit 914c940bc1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ 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')),
+1 -1
View File
@@ -128,7 +128,7 @@ toolbar
set::url(helper::createLink('metric', 'preview', "scope=$exchangeScope&viewType=multiple&metricID={$currentID}")),
$lang->metric->viewType->multiple,
),
common::hasPriv('metric', 'preview') ? btn
common::hasPriv('metric', 'browse') ? btn
(
setClass('btn primary'),
set::url(helper::createLink('metric', 'browse')),