Skip to content

Commit

Permalink
fix: disable folding of organization Accordion in workspaces selector
Browse files Browse the repository at this point in the history
  • Loading branch information
csm-thu committed Jun 12, 2023
1 parent be87a09 commit 834f557
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/Workspaces/Workspaces.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ const Workspaces = () => {
) : (
<Grid container justifyContent="center" style={{ padding: '18px', height: '90%' }}>
<Grid item xs={12}>
<Accordion defaultExpanded={true}>
{/* Keep Accordion always open while we have only one organization, and reset default cursor */}
<Accordion expanded={true} sx={{ '& .MuiAccordionSummary-root:hover': { cursor: 'default !important' } }}>
<AccordionSummary>
<Typography variant="body1">{organizationName}</Typography>
</AccordionSummary>
Expand Down

0 comments on commit 834f557

Please sign in to comment.