Add reload button to dev button set

This commit is contained in:
Max Goodhart
2025-06-15 02:17:42 +00:00
parent 860bcc8d6a
commit 8dcc1f55ac

View File

@@ -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 />