mirror of https://github.com/rancher/dashboard.git
remove reference to desription in create-edit-view
This commit is contained in:
parent
b8a996c43f
commit
656d13af1b
|
|
@ -170,11 +170,6 @@ export default {
|
|||
this.errors = null;
|
||||
try {
|
||||
await this.applyHooks(BEFORE_SAVE_HOOKS);
|
||||
// add description to annotations
|
||||
if (!this.value.metadata.annotations) {
|
||||
this.$set(this.value.metadata, 'annotations', {});
|
||||
}
|
||||
this.$set(this.value.metadata.annotations, DESCRIPTION, this.description);
|
||||
|
||||
// Remove the labels map if it's empty
|
||||
if ( this.value?.metadata?.labels && Object.keys(this.value.metadata.labels || {}).length === 0 ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue