mirror of https://github.com/rancher/dashboard.git
include credentialSecretNamespace when name matches default
This commit is contained in:
parent
e09fda1997
commit
6d101d86cf
|
|
@ -46,7 +46,15 @@ export default {
|
|||
}
|
||||
},
|
||||
...mapGetters({ t: 'i18n/t' })
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
const { credentialSecretName, credentialSecretNamespace } = this.value;
|
||||
|
||||
if (credentialSecretName && !credentialSecretNamespace) {
|
||||
this.value.credentialSecretName = '';
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue