We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9689d96 + 8857e3d commit 1d11077Copy full SHA for 1d11077
packages/kolibri-common/composables/useCoachMetadataTags.js
@@ -21,7 +21,7 @@ export function useCoachMetadataTags(contentNode) {
21
// With no kind, we know it is a CHANNEL.
22
// Channel API response is shaped a little differently than Topics and Resources
23
// so we make sure we have the right shape.
24
- if (!contentNode.kind) {
+ if (!contentNode.kind || contentNode.kind === ContentNodeKinds.CHANNEL) {
25
contentNode.lang = { lang_name: contentNode.lang_name, id: contentNode.lang_code };
26
// The grade_levels and categories fields are stored as
27
// comma-separated strings in the database
0 commit comments