mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-10-23 21:11:31 +00:00
Changes the text on the DO account connectivity dialog 'cancel' button to 'disconnect' (#744)
* Throw XhrError and show connectivity dialog on 401 responses * Adds error message * Renames account connectivity dialog 'cancel' button to 'disconnect'
This commit is contained in:
parent
ab637daf25
commit
616a3a9c8a
1 changed files with 1 additions and 1 deletions
|
|
@ -694,7 +694,7 @@ export class AppRoot extends mixinBehaviors
|
|||
showConnectivityDialog(cb) {
|
||||
const dialogTitle = this.localize('error-connectivity-title');
|
||||
const dialogText = this.localize('error-connectivity');
|
||||
this.showModalDialog(dialogTitle, dialogText, [this.localize('cancel'), this.localize('retry')])
|
||||
this.showModalDialog(dialogTitle, dialogText, [this.localize('digitalocean-disconnect'), this.localize('retry')])
|
||||
.then(clickedButtonIndex => {
|
||||
cb(clickedButtonIndex === 1); // pass true if user clicked retry
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue