Skip to content

A platform for community discussion. Free, open, simple.

FIX: tags need to be an array of strings for SchemaSettingTypeTags (#37643)

Krisaab59e2b5be7
diff --git a/frontend/discourse/admin/components/schema-setting/types/tags.gjs b/frontend/discourse/admin/components/schema-setting/types/tags.gjs
index 4fad74119ed..e72cb3948e7 100644
--- a/frontend/discourse/admin/components/schema-setting/types/tags.gjs
+++ b/frontend/discourse/admin/components/schema-setting/types/tags.gjs
@@ -13,6 +13,10 @@ export default class SchemaSettingTypeTags extends SchemaSettingTypeModels {
};
}
+ onChange(tags) {
+ return tags.map((tag) => tag.name);
+ }
+
<template>
<TagChooser
@tags={{this.value}}