Исправлен переход по ссылкам
This commit is contained in:
parent
44934a590c
commit
7be8f43797
3 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ export const IssuesListCard = observer((props: Props): JSX.Element => {
|
||||||
visible: false
|
visible: false
|
||||||
});
|
});
|
||||||
return (
|
return (
|
||||||
<div className={Css.listItem} onClick={(e) => {e.stopPropagation(); e.preventDefault(); detailsStore.show();}}>
|
<div className={Css.listItem} onClick={(e) => {e.stopPropagation(); detailsStore.show();}}>
|
||||||
<IssueDetailsDialogNs.IssueDetailsDialog store={detailsStore}/>
|
<IssueDetailsDialogNs.IssueDetailsDialog store={detailsStore}/>
|
||||||
<div>
|
<div>
|
||||||
<TimePassedNs.TimePassed params={{ fromIssue: { issue: props.store, keyName: 'timePassedClass' } }}/>
|
<TimePassedNs.TimePassed params={{ fromIssue: { issue: props.store, keyName: 'timePassedClass' } }}/>
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ export const KanbanCard = observer((props: Props) => {
|
||||||
visible: false,
|
visible: false,
|
||||||
})
|
})
|
||||||
return (
|
return (
|
||||||
<div className={KanbanCardCss.kanbanCard} onClick={(e) => {e.preventDefault(); e.stopPropagation(); detailsStore.show();}}>
|
<div className={KanbanCardCss.kanbanCard} onClick={(e) => {e.stopPropagation(); detailsStore.show();}}>
|
||||||
<IssueDetailsDialogNs.IssueDetailsDialog store={detailsStore} />
|
<IssueDetailsDialogNs.IssueDetailsDialog store={detailsStore} />
|
||||||
<div className={KanbanCardCss.kanbanCardTitle}>
|
<div className={KanbanCardCss.kanbanCardTitle}>
|
||||||
<TimePassedNs.TimePassed params={timePassedParams}/>
|
<TimePassedNs.TimePassed params={timePassedParams}/>
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ export const IssueDetailsDialog = observer((props: Props): JSX.Element => {
|
||||||
<div className={Css.modal} style={props.store.displayStyle}>
|
<div className={Css.modal} style={props.store.displayStyle}>
|
||||||
<div className={Css.modalContent}>
|
<div className={Css.modalContent}>
|
||||||
<h1>
|
<h1>
|
||||||
<button onClick={(e) => {e.preventDefault(); e.stopPropagation(); props.store.hide();}}>close</button>
|
<button onClick={(e) => {e.stopPropagation(); props.store.hide();}}>close</button>
|
||||||
<IssueHrefNs.IssueHref
|
<IssueHrefNs.IssueHref
|
||||||
id={props.store.issue?.id || -1}
|
id={props.store.issue?.id || -1}
|
||||||
subject={props.store.issue?.subject || ''}
|
subject={props.store.issue?.subject || ''}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue