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']),
|
||||
hasAdvanced: or('hasCustomFields', 'routeTo'),
|
||||
showAdvanced: and('hasAdvanced', 'action.type'),
|
||||
hasCustomFields: or('basicTopicFields', 'updateProfile'),
|
||||
hasCustomFields: or('basicTopicFields', 'updateProfile', 'createGroup', 'createCategory'),
|
||||
basicTopicFields: or('createTopic', 'sendMessage', 'openComposer'),
|
||||
publicTopicFields: or('createTopic', 'openComposer'),
|
||||
showSkipRedirect: or('createTopic', 'sendMessage'),
|
||||
|
|
|
@ -164,7 +164,8 @@ const action = {
|
|||
color: null,
|
||||
text_color: "FFFFFF",
|
||||
parent_category_id: null,
|
||||
permissions: null
|
||||
permissions: null,
|
||||
custom_fields: null
|
||||
},
|
||||
create_group: {
|
||||
name: null,
|
||||
|
@ -177,7 +178,8 @@ const action = {
|
|||
mentionable_level: null,
|
||||
messageable_level: null,
|
||||
visibility_level: null,
|
||||
members_visibility_level: null
|
||||
members_visibility_level: null,
|
||||
custom_fields: null
|
||||
}
|
||||
},
|
||||
mapped: [
|
||||
|
|
Laden …
In neuem Issue referenzieren