mirror of
https://github.com/streamwall/streamwall.git
synced 2025-12-06 01:45:37 -05:00
Add reload button to dev button set
This commit is contained in:
@@ -1162,6 +1162,11 @@ function GridControls({
|
|||||||
<StyledGridButtons side="left">
|
<StyledGridButtons side="left">
|
||||||
{showDebug ? (
|
{showDebug ? (
|
||||||
<>
|
<>
|
||||||
|
{roleCan(role, 'reload-view') && (
|
||||||
|
<StyledSmallButton onClick={handleReloadClick} tabIndex={1}>
|
||||||
|
<FaSyncAlt />
|
||||||
|
</StyledSmallButton>
|
||||||
|
)}
|
||||||
{roleCan(role, 'browse') && (
|
{roleCan(role, 'browse') && (
|
||||||
<StyledSmallButton onClick={handleBrowseClick} tabIndex={1}>
|
<StyledSmallButton onClick={handleBrowseClick} tabIndex={1}>
|
||||||
<FaRegWindowMaximize />
|
<FaRegWindowMaximize />
|
||||||
|
|||||||
Reference in New Issue
Block a user