Auth UI: reset values (#25809)
This commit is contained in:
parent
10368c239f
commit
a5c73442ee
1 changed files with 3 additions and 0 deletions
|
|
@ -508,6 +508,7 @@ export default defineComponent({
|
|||
reset() {
|
||||
this.values = { ...this.initialValues } as DeviceValues;
|
||||
this.test = initialTestState();
|
||||
this.resetAuthStatus();
|
||||
},
|
||||
async loadConfiguration() {
|
||||
try {
|
||||
|
|
@ -572,6 +573,8 @@ export default defineComponent({
|
|||
resetAuthStatus() {
|
||||
this.authOk = false;
|
||||
this.authProviderUrl = null;
|
||||
this.authError = null;
|
||||
this.authLoading = false;
|
||||
},
|
||||
async checkAuthStatus() {
|
||||
this.resetAuthStatus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue