Browse Source

move window reload button to side

master
jeffvli 3 years ago
parent
commit
179b2475d0
  1. 12
      src/components/settings/Config.tsx

12
src/components/settings/Config.tsx

@ -155,16 +155,18 @@ const Config = () => {
>
<HeaderButton size="sm">Reset defaults</HeaderButton>
</Whisper>
<HeaderButton
</>
}
sidetitle={<DisconnectButton />}
subsidetitle={
<Button
color={requiresReload ? 'red' : undefined}
size="sm"
onClick={() => window.location.reload()}
>
Reload window {requiresReload ? '(pending changes)' : undefined}
</HeaderButton>
</>
Reload window {requiresReload ? '(pending)' : ''}
</Button>
}
sidetitle={<DisconnectButton />}
/>
}
>

Loading…
Cancel
Save