mirror of
https://github.com/rancher/steve.git
synced 2025-09-18 08:20:36 +00:00
Show resource relationships
This commit is contained in:
@@ -138,6 +138,8 @@ func (c *Collection) applyTemplates(schema *types.APISchema) {
|
||||
}
|
||||
if schema.Formatter == nil {
|
||||
schema.Formatter = t.Formatter
|
||||
} else if t.Formatter != nil {
|
||||
schema.Formatter = types.FormatterChain(t.Formatter, schema.Formatter)
|
||||
}
|
||||
if schema.Store == nil {
|
||||
if t.StoreFactory == nil {
|
||||
|
Reference in New Issue
Block a user