|
|
@ -3,6 +3,7 @@ import React, { Component } from 'react';
|
|
|
|
import Card from 'Components/Card';
|
|
|
|
import Card from 'Components/Card';
|
|
|
|
import Label from 'Components/Label';
|
|
|
|
import Label from 'Components/Label';
|
|
|
|
import ConfirmModal from 'Components/Modal/ConfirmModal';
|
|
|
|
import ConfirmModal from 'Components/Modal/ConfirmModal';
|
|
|
|
|
|
|
|
import TagList from 'Components/TagList';
|
|
|
|
import { kinds } from 'Helpers/Props';
|
|
|
|
import { kinds } from 'Helpers/Props';
|
|
|
|
import translate from 'Utilities/String/translate';
|
|
|
|
import translate from 'Utilities/String/translate';
|
|
|
|
import EditNotificationModalConnector from './EditNotificationModalConnector';
|
|
|
|
import EditNotificationModalConnector from './EditNotificationModalConnector';
|
|
|
@ -78,7 +79,9 @@ class Notification extends Component {
|
|
|
|
supportsOnDownloadFailure,
|
|
|
|
supportsOnDownloadFailure,
|
|
|
|
supportsOnImportFailure,
|
|
|
|
supportsOnImportFailure,
|
|
|
|
supportsOnTrackRetag,
|
|
|
|
supportsOnTrackRetag,
|
|
|
|
supportsOnApplicationUpdate
|
|
|
|
supportsOnApplicationUpdate,
|
|
|
|
|
|
|
|
tags,
|
|
|
|
|
|
|
|
tagList
|
|
|
|
} = this.props;
|
|
|
|
} = this.props;
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
@ -187,6 +190,11 @@ class Notification extends Component {
|
|
|
|
</Label>
|
|
|
|
</Label>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TagList
|
|
|
|
|
|
|
|
tags={tags}
|
|
|
|
|
|
|
|
tagList={tagList}
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<EditNotificationModalConnector
|
|
|
|
<EditNotificationModalConnector
|
|
|
|
id={id}
|
|
|
|
id={id}
|
|
|
|
isOpen={this.state.isEditNotificationModalOpen}
|
|
|
|
isOpen={this.state.isEditNotificationModalOpen}
|
|
|
@ -235,6 +243,8 @@ Notification.propTypes = {
|
|
|
|
supportsOnImportFailure: PropTypes.bool.isRequired,
|
|
|
|
supportsOnImportFailure: PropTypes.bool.isRequired,
|
|
|
|
supportsOnTrackRetag: PropTypes.bool.isRequired,
|
|
|
|
supportsOnTrackRetag: PropTypes.bool.isRequired,
|
|
|
|
supportsOnApplicationUpdate: PropTypes.bool.isRequired,
|
|
|
|
supportsOnApplicationUpdate: PropTypes.bool.isRequired,
|
|
|
|
|
|
|
|
tags: PropTypes.arrayOf(PropTypes.number).isRequired,
|
|
|
|
|
|
|
|
tagList: PropTypes.arrayOf(PropTypes.object).isRequired,
|
|
|
|
onConfirmDeleteNotification: PropTypes.func.isRequired
|
|
|
|
onConfirmDeleteNotification: PropTypes.func.isRequired
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|