mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +00:00
fixes issue with kubernetes config prompt appearing when it shouldn't (#19115)
This commit is contained in:
@@ -31,6 +31,7 @@ export function withConfig() {
|
|||||||
.queryRecord('kubernetes/config', { backend })
|
.queryRecord('kubernetes/config', { backend })
|
||||||
.then((record) => {
|
.then((record) => {
|
||||||
this.configModel = record;
|
this.configModel = record;
|
||||||
|
this.promptConfig = false;
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
// we need to ignore if the user does not have permission or other failures so as to not block the other operations
|
// we need to ignore if the user does not have permission or other failures so as to not block the other operations
|
||||||
@@ -42,6 +43,8 @@ export function withConfig() {
|
|||||||
this.configError = error;
|
this.configError = error;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
this.promptConfig = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user