* Fix priv with button browse.
This commit is contained in:
@@ -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')),
|
||||
|
||||
@@ -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')),
|
||||
|
||||
Reference in New Issue
Block a user