Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
Expose custom field support for create group and create category
Dieser Commit ist enthalten in:
Ursprung
783af5b5f7
Commit
2e6c6ff4d6
2 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen
|
@ -26,7 +26,7 @@ export default Component.extend(UndoChanges, {
|
||||||
groupPropertyTypes: selectKitContent(['id', 'name']),
|
groupPropertyTypes: selectKitContent(['id', 'name']),
|
||||||
hasAdvanced: or('hasCustomFields', 'routeTo'),
|
hasAdvanced: or('hasCustomFields', 'routeTo'),
|
||||||
showAdvanced: and('hasAdvanced', 'action.type'),
|
showAdvanced: and('hasAdvanced', 'action.type'),
|
||||||
hasCustomFields: or('basicTopicFields', 'updateProfile'),
|
hasCustomFields: or('basicTopicFields', 'updateProfile', 'createGroup', 'createCategory'),
|
||||||
basicTopicFields: or('createTopic', 'sendMessage', 'openComposer'),
|
basicTopicFields: or('createTopic', 'sendMessage', 'openComposer'),
|
||||||
publicTopicFields: or('createTopic', 'openComposer'),
|
publicTopicFields: or('createTopic', 'openComposer'),
|
||||||
showSkipRedirect: or('createTopic', 'sendMessage'),
|
showSkipRedirect: or('createTopic', 'sendMessage'),
|
||||||
|
|
|
@ -164,7 +164,8 @@ const action = {
|
||||||
color: null,
|
color: null,
|
||||||
text_color: "FFFFFF",
|
text_color: "FFFFFF",
|
||||||
parent_category_id: null,
|
parent_category_id: null,
|
||||||
permissions: null
|
permissions: null,
|
||||||
|
custom_fields: null
|
||||||
},
|
},
|
||||||
create_group: {
|
create_group: {
|
||||||
name: null,
|
name: null,
|
||||||
|
@ -177,7 +178,8 @@ const action = {
|
||||||
mentionable_level: null,
|
mentionable_level: null,
|
||||||
messageable_level: null,
|
messageable_level: null,
|
||||||
visibility_level: null,
|
visibility_level: null,
|
||||||
members_visibility_level: null
|
members_visibility_level: null,
|
||||||
|
custom_fields: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mapped: [
|
mapped: [
|
||||||
|
|
Laden …
In neuem Issue referenzieren