Split modals, document delete

This commit is contained in:
Tom Moor
2017-09-09 22:51:22 -07:00
parent fff8e7ad41
commit 79c1cc29a0
9 changed files with 149 additions and 53 deletions

View File

@ -17,12 +17,12 @@ import { DropdownMenu, DropdownMenuItem } from 'components/DropdownMenu';
onEdit = () => {
const { collection } = this.props;
this.props.ui.setActiveModal('edit-collection', { collection });
this.props.ui.setActiveModal('collection-edit', { collection });
};
onDelete = () => {
const { collection } = this.props;
this.props.ui.setActiveModal('delete-collection', { collection });
this.props.ui.setActiveModal('collection-delete', { collection });
};
render() {