0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 02:50:28 +01:00

Add missing isComposer computed property

Dieser Commit ist enthalten in:
Angus McLeod 2020-10-06 20:33:19 +11:00
Ursprung 96e85bb2b3
Commit 55d7059469

Datei anzeigen

@ -17,6 +17,7 @@ export default Component.extend(UndoChanges, {
isText: equal('field.type', 'text'), isText: equal('field.type', 'text'),
isTextarea: equal('field.type', 'textarea'), isTextarea: equal('field.type', 'textarea'),
isUrl: equal('field.type', 'url'), isUrl: equal('field.type', 'url'),
isComposer: equal('field.type', 'composer'),
showPrefill: or('isText', 'isCategory', 'isTag', 'isGroup', 'isDropdown'), showPrefill: or('isText', 'isCategory', 'isTag', 'isGroup', 'isDropdown'),
showContent: or('isCategory', 'isTag', 'isGroup', 'isDropdown'), showContent: or('isCategory', 'isTag', 'isGroup', 'isDropdown'),
showLimit: or('isCategory', 'isTag'), showLimit: or('isCategory', 'isTag'),