Yeuoly преди 9 месеца
родител
ревизия
8bc6f095fd
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      internal/types/entities/plugin_entities/plugin_declaration.go

+ 4 - 0
internal/types/entities/plugin_entities/plugin_declaration.go

@@ -287,6 +287,10 @@ func (p *PluginDeclaration) FillInDefaultValues() {
 			p.Model.Description = &deep_copied_description
 		}
 	}
+
+	if p.Tags == nil {
+		p.Tags = []PluginTag{}
+	}
 }
 
 func init() {