-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
681 additions
and
1,313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
ui/src/pages/backoffice/Document/DocumentDetails/components/DocumentDeleteModal/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
export { DocumentDeleteModal } from './DocumentDeleteModal'; | ||
import { connect } from 'react-redux'; | ||
|
||
import { deleteDocument } from '../../state/actions'; | ||
import DocumentDeleteModalComponent from './DocumentDeleteModal'; | ||
|
||
const mapDispatchToProps = dispatch => ({ | ||
deleteDocument: documentPid => dispatch(deleteDocument(documentPid)), | ||
}); | ||
|
||
export const DocumentDeleteModal = connect( | ||
null, | ||
mapDispatchToProps | ||
)(DocumentDeleteModalComponent); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
ui/src/pages/backoffice/Series/SeriesDetails/components/SeriesDeleteModal/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
export { SeriesDeleteModal } from './SeriesDeleteModal'; | ||
import { connect } from 'react-redux'; | ||
import { deleteSeries } from '../../state/actions'; | ||
|
||
import SeriesDeleteModalComponent from './SeriesDeleteModal'; | ||
|
||
const mapDeleteDispatch = dispatch => ({ | ||
deleteSeries: seriesPid => dispatch(deleteSeries(seriesPid)), | ||
}); | ||
|
||
export const SeriesDeleteModal = connect( | ||
null, | ||
mapDeleteDispatch | ||
)(SeriesDeleteModalComponent); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.