Skip to content

Commit 8a71334

Browse files
authored
Merge pull request #140 from glific/enhancement/create-collections
Added support for creating collections from floweditor
2 parents 4712fa2 + 3c865f2 commit 8a71334

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/flow/actions/changegroups/addgroups/AddGroupsForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export default class AddGroupsForm extends React.Component<ActionFormProps, Chan
9898
placeholder={i18n.t('select_groups', 'Select Collection')}
9999
expressions={true}
100100
// Groups can be created on the fly
101-
// createPrefix={i18n.t('create_group', 'Create Collection') + ': '}
101+
createPrefix={i18n.t('create_group', 'Create Collection') + ': '}
102102
createAssetFromInput={this.handleCreateAssetFromInput}
103103
onAssetCreated={this.handleGroupAdded}
104104
/>

src/components/flow/actions/changegroups/addgroups/__snapshots__/AddGroupsForm.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ exports[`AddGroupsForm render should render self, children with base props 1`] =
4141
</p>
4242
<AssetSelector
4343
createAssetFromInput={[Function]}
44+
createPrefix="Create Collection: "
4445
entry={
4546
Object {
4647
"value": Array [

0 commit comments

Comments
 (0)