fix: report issue icon jira/github

This commit is contained in:
Shekar Siri 2021-05-19 16:32:53 +05:30
parent 27b66701e2
commit d0e066c7b0
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ import stl from './issues.css';
fetchIssueLoading: state.getIn(['assignments', 'fetchAssignment', 'loading']),
fetchIssuesLoading: state.getIn(['assignments', 'fetchAssignments', 'loading']),
projectsLoading: state.getIn(['assignments', 'fetchProjects', 'loading']),
provider: state.getIn([ 'issues', 'list']).provider,
issuesIntegration: state.getIn([ 'issues', 'list']).first() || {},
}), { fetchAssigment, fetchAssignments, fetchMeta, fetchProjects })
@withToggle('isModalDisplayed', 'toggleModal')
class Issues extends React.Component {
@ -64,9 +64,10 @@ class Issues extends React.Component {
render() {
const {
sessionId, activeIssue, isModalDisplayed, projectsLoading,
fetchIssueLoading, issues, metaLoading, fetchIssuesLoading, provider
fetchIssueLoading, issues, metaLoading, fetchIssuesLoading, issuesIntegration
} = this.props;
const { showModal } = this.state;
const provider = issuesIntegration.provider
return (
<div className="relative">

View file

@ -7,7 +7,6 @@ export const ACCESS_KEY_ID_LENGTH = 20;
export default Record({
username: undefined,
token: undefined,
provider: undefined,
url: undefined,
provider: 'jira'
}, {