mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 19:44:57 +02:00
Tracker: fix console errors in the Issue Editor (#2001)
Signed-off-by: Sergei Ogorelkov <sergei.ogorelkov@xored.com>
This commit is contained in:
@@ -86,8 +86,12 @@
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex-center">
|
||||
<ProjectEditor value={issue} />
|
||||
<DueDateEditor value={issue} />
|
||||
{#if issue.project !== null}
|
||||
<ProjectEditor value={issue} />
|
||||
{/if}
|
||||
{#if issue.dueDate !== null}
|
||||
<DueDateEditor value={issue} />
|
||||
{/if}
|
||||
<AssigneeEditor value={issue} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
icon={isCollapsed ? Collapsed : Expanded}
|
||||
size="small"
|
||||
kind="transparent"
|
||||
label={tracker.string.SubIssues}
|
||||
label={tracker.string.SubIssuesList}
|
||||
labelParams={{ subIssues: issue.subIssues }}
|
||||
on:click={() => (isCollapsed = !isCollapsed)}
|
||||
/>
|
||||
@@ -97,11 +97,11 @@
|
||||
|
||||
<style lang="scss">
|
||||
.list {
|
||||
border-bottom: 1px solid var(--divider-color);
|
||||
border-top: 1px solid var(--divider-color);
|
||||
|
||||
&.collapsed {
|
||||
margin-top: 1px;
|
||||
border-bottom: none;
|
||||
padding-top: 1px;
|
||||
border-top: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user