Skip to content

Commit

Permalink
Removed unneeded dashboard fetch for access control
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdejong committed Feb 28, 2024
1 parent 7bd6f7a commit 89c29f9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dashboard/sidebar/DashboardSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,6 @@ export const NeoDashboardSidebar = ({
}}
handleAccessClicked={() => {
setMenuOpen(Menu.NONE);
const d = dashboards[inspectedIndex];
loadDashboardFromNeo4j(driver, dashboardDatabase, d.uuid, (text) => {
setCachedDashboard(JSON.parse(text));
});
setModalOpen(Modal.ACCESS);
}}
handleDeleteClicked={() => {
Expand Down

0 comments on commit 89c29f9

Please sign in to comment.