Optionally ignore available server update
Makes it possible to never show the info dialog again for the available version update
This commit is contained in:
@@ -78,7 +78,6 @@ export const ServerUpdateChecker = () => {
|
|||||||
</DialogContentText>
|
</DialogContentText>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<Button onClick={handleClose}>{t('global.label.close')}</Button>
|
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
updateChecker.remindLater();
|
updateChecker.remindLater();
|
||||||
@@ -87,6 +86,14 @@ export const ServerUpdateChecker = () => {
|
|||||||
>
|
>
|
||||||
{t('global.button.remind_later')}
|
{t('global.button.remind_later')}
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button
|
||||||
|
onClick={() => {
|
||||||
|
updateChecker.ignoreUpdate();
|
||||||
|
handleClose();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{t('global.button.ignore')}
|
||||||
|
</Button>
|
||||||
<Button onClick={handleClose} variant="contained" href={selectedServerChannelInfo.url} target="_blank">
|
<Button onClick={handleClose} variant="contained" href={selectedServerChannelInfo.url} target="_blank">
|
||||||
{t('chapter.action.download.add.label.action')}
|
{t('chapter.action.download.add.label.action')}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user