fix: blocked issues, style: issue details sidebar
This commit is contained in:
parent
afcf1083ff
commit
8ae9c3f15a
15 changed files with 163 additions and 141 deletions
|
|
@ -101,7 +101,7 @@ const IssueDetailSidebar: React.FC<Props> = ({
|
|||
if (activeWorkspace && activeProject && issueDetail)
|
||||
issuesServices
|
||||
.addIssueToCycle(activeWorkspace.slug, activeProject.id, cycleId, {
|
||||
issue: [issueDetail.id],
|
||||
issues: [issueDetail.id],
|
||||
})
|
||||
.then(() => {
|
||||
submitChanges({});
|
||||
|
|
@ -211,7 +211,7 @@ const IssueDetailSidebar: React.FC<Props> = ({
|
|||
watch={watchIssue}
|
||||
/>
|
||||
<SelectBlocked
|
||||
submitChanges={submitChanges}
|
||||
issueDetail={issueDetail}
|
||||
issuesList={issues?.results.filter((i) => i.id !== issueDetail?.id) ?? []}
|
||||
watch={watchIssue}
|
||||
/>
|
||||
|
|
@ -227,6 +227,7 @@ const IssueDetailSidebar: React.FC<Props> = ({
|
|||
render={({ field: { value, onChange } }) => (
|
||||
<input
|
||||
type="date"
|
||||
id="issueDate"
|
||||
value={value ?? ""}
|
||||
onChange={(e: any) => {
|
||||
submitChanges({ target_date: e.target.value });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue