|
|
@@ -20,13 +20,13 @@ const CompanyForm = props => {
|
|
|
useEffect(() => {
|
|
|
if (!personTags.length) {
|
|
|
dispatch({
|
|
|
- type: 'company/fetchTags',
|
|
|
+ type: 'company/fetchPersonTags',
|
|
|
payload: { tagType: TagTypeEnum.PERSONTAG, tagColumn: TagDataTypeEnum.COMPANY }
|
|
|
})
|
|
|
}
|
|
|
if (!teamTags.length) {
|
|
|
dispatch({
|
|
|
- type: 'company/fetchTags',
|
|
|
+ type: 'company/fetchTeamTags',
|
|
|
payload: { tagType: TagTypeEnum.TEAMTAG, tagColumn: TagDataTypeEnum.COMPANY }
|
|
|
})
|
|
|
}
|
|
|
@@ -122,7 +122,8 @@ const CompanyForm = props => {
|
|
|
tagType={TagTypeEnum.PERSONTAG}
|
|
|
tagColumn={TagDataTypeEnum.COMPANY}
|
|
|
checkCallBack={refreshCompany}
|
|
|
- modeType={LabelModeType.column}>
|
|
|
+ modeType={LabelModeType.column}
|
|
|
+ >
|
|
|
<Add theme="filled" size="20" fill="#868e96" className="cursor-pointer" />
|
|
|
</PersonLabel>
|
|
|
</div>
|
|
|
@@ -149,7 +150,8 @@ const CompanyForm = props => {
|
|
|
tagType={TagTypeEnum.TEAMTAG}
|
|
|
tagColumn={TagDataTypeEnum.COMPANY}
|
|
|
checkCallBack={refreshCompany}
|
|
|
- modeType={LabelModeType.column}>
|
|
|
+ modeType={LabelModeType.column}
|
|
|
+ >
|
|
|
<Add theme="filled" size="20" fill="#868e96" className="cursor-pointer" />
|
|
|
</PersonLabel>
|
|
|
</div>
|