Skip to content

Commit

Permalink
Logout button tunning
Browse files Browse the repository at this point in the history
  • Loading branch information
elboletaire authored and gerouvi committed Jun 28, 2024
1 parent 7d1794d commit b41ad94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Process/Aside.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ const ProcessAside = () => {
mb={{ base: 10, md: 0 }}
>
<SpreadsheetAccess />
{isConnected && (
{connected && <SpreadsheetAccess />}
{isConnected && election?.get('census.type') !== 'spreadsheet' && (
<Button
variant='text'
textDecor='underline'
Expand Down

1 comment on commit b41ad94

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.