1
0
Fork 0

Expose custom field support for create group and create category

Dieser Commit ist enthalten in:
Angus McLeod 2020-07-17 12:10:59 +10:00
Ursprung 783af5b5f7
Commit 2e6c6ff4d6
2 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -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'),

Datei anzeigen

@ -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: [