Поправлен перенос тегов в отдельную строку
This commit is contained in:
parent
ac14a4ebdc
commit
00f7e6eea3
1 changed files with 2 additions and 1 deletions
|
|
@ -42,6 +42,7 @@ export const IssuesListCard = observer((props: Props): JSX.Element => {
|
|||
// </div>
|
||||
// </div>
|
||||
// );
|
||||
const tagsNewLine = (props.store.styledTags && props.store.styledTags.length > 0) ? <br/> : null;
|
||||
return (
|
||||
<div className={Css.todoBlock} onClick={(e) => { e.stopPropagation(); detailsStore.show(); }}>
|
||||
<IssueDetailsDialogNs.IssueDetailsDialog store={detailsStore} />
|
||||
|
|
@ -59,7 +60,7 @@ export const IssuesListCard = observer((props: Props): JSX.Element => {
|
|||
</span>
|
||||
<span> </span>
|
||||
<span className={Css.timeBox}>{SpentHoursToFixed(props.store.total_spent_hours)} / {SpentHoursToFixed(props.store.total_estimated_hours)}</span>
|
||||
{(props.store.styledTags && props.store.styledTags.hasOwnProperties()) ? <br/> : null}
|
||||
{tagsNewLine}
|
||||
<TagsNs.Tags params={{ tags: props.store.styledTags }} />
|
||||
<div className={Css.positionInfo}>
|
||||
<span className={Css.timeBox}>{props.store.status.name}</span>
|
||||
|
|
|
|||
Loading…
Reference in a new issue