Skip to content

Commit

Permalink
Merge pull request #140 from glific/enhancement/create-collections
Browse files Browse the repository at this point in the history
Added support for creating collections from floweditor
  • Loading branch information
akanshaaa19 authored Feb 13, 2025
2 parents 4712fa2 + 3c865f2 commit 8a71334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default class AddGroupsForm extends React.Component<ActionFormProps, Chan
placeholder={i18n.t('select_groups', 'Select Collection')}
expressions={true}
// Groups can be created on the fly
// createPrefix={i18n.t('create_group', 'Create Collection') + ': '}
createPrefix={i18n.t('create_group', 'Create Collection') + ': '}
createAssetFromInput={this.handleCreateAssetFromInput}
onAssetCreated={this.handleGroupAdded}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ exports[`AddGroupsForm render should render self, children with base props 1`] =
</p>
<AssetSelector
createAssetFromInput={[Function]}
createPrefix="Create Collection: "
entry={
Object {
"value": Array [
Expand Down

0 comments on commit 8a71334

Please sign in to comment.