Browse Source

move window reload button to side

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

16
src/components/settings/Config.tsx

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

Loading…
Cancel
Save