diff --git a/core/block/editor/template/template.go b/core/block/editor/template/template.go index f4ab09a7e..e3ebd3d75 100644 --- a/core/block/editor/template/template.go +++ b/core/block/editor/template/template.go @@ -234,6 +234,8 @@ var WithDefaultFeaturedRelations = func(s *state.State) { fr = []string{bundle.RelationKeyType.String(), bundle.RelationKeyBacklinks.String()} case model.ObjectType_file, model.ObjectType_image, model.ObjectType_audio, model.ObjectType_video: fr = []string{bundle.RelationKeyType.String(), bundle.RelationKeyTag.String(), bundle.RelationKeyBacklinks.String()} + // Tag is not added to details of object explicitly as it is not system relation + s.SetDetail(bundle.RelationKeyTag.String(), pbtypes.StringList([]string{})) } s.SetDetail(bundle.RelationKeyFeaturedRelations.String(), pbtypes.StringList(fr)) }