* [bug#64470] Hidden exportBtn when has no priv.

This commit is contained in:
xieqiyu
2025-08-21 08:38:49 +08:00
committed by tianshujie
parent 35f1d55502
commit 5a849d44a5
+1 -1
View File
@@ -514,7 +514,7 @@ toolbar
))
))),
(!$canReport || !$productID) ? null : item(set(array('id' => 'reportBtn', 'icon' => 'bar-chart', 'class' => 'ghost', 'url' => $reportUrl))),
!$canExport ? null : item(set(array('id' => 'exportBtn', 'icon' => 'export', 'class' => 'ghost', 'url' => $exportUrl, 'data-toggle' => 'modal'))),
item(set(array('id' => 'exportBtn', 'icon' => 'export', 'class' => 'ghost' . ($canExport ? '' : ' hidden'), 'url' => $exportUrl, 'data-toggle' => 'modal'))),
$fnBuildCreateStoryButton(),
$fnBuildLinkStoryButton()
);