Skip to content

Commit

Permalink
Update client/app/pages/dashboards/DashboardPage.jsx
Browse files Browse the repository at this point in the history
Co-Authored-By: Gabriel Dutra <[email protected]>
  • Loading branch information
arikfr and gabrieldutra authored Mar 10, 2020
1 parent c06b78f commit 0ff1465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/pages/dashboards/DashboardPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function DashboardControl({ dashboardOptions }) {

return (
<div className="col-xs-4 col-sm-5 col-lg-5 text-right dashboard-control p-r-0">
{dashboard.is_archived && <Button onClick={unarchiveDashboard}>Unarchive</Button>}
{dashboard.can_edit && dashboard.is_archived && <Button onClick={unarchiveDashboard}>Unarchive</Button>}
{!dashboard.is_archived && (
<span className="hidden-print">
{showPublishButton && (
Expand Down

0 comments on commit 0ff1465

Please sign in to comment.