-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Artyom Grigorovich <grigorovichartyom@gmail.com>
- Loading branch information
1 parent
714a333
commit bb77453
Showing
3 changed files
with
38 additions
and
14 deletions.
There are no files selected for viewing
12 changes: 5 additions & 7 deletions
12
plugins/tracker-resources/src/components/issues/Active.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
<script lang='ts'> | ||
<script lang="ts"> | ||
import { Ref } from '@anticrm/core' | ||
import { IssueStatus, Team } from '@anticrm/tracker' | ||
import Issues from './Issues.svelte' | ||
export let currentSpace: Ref<Team> | ||
import tracker from '../../plugin' | ||
let todalIssues = 0 | ||
export let currentSpace: Ref<Team> | ||
</script> | ||
<div class='fs-title'> | ||
Active issues {todalIssues} | ||
</div> | ||
<Issues currentSpace={currentSpace} categories={[IssueStatus.InProgress, IssueStatus.Todo]} on:content={(evt) => { todalIssues = evt.detail.length } }></Issues> | ||
|
||
<Issues {currentSpace} categories={[IssueStatus.InProgress, IssueStatus.Todo]} title={tracker.string.ActiveIssues} /> |
7 changes: 5 additions & 2 deletions
7
plugins/tracker-resources/src/components/issues/Backlog.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<script lang='ts'> | ||
<script lang="ts"> | ||
import { Ref } from '@anticrm/core' | ||
import { IssueStatus, Team } from '@anticrm/tracker' | ||
import Issues from './Issues.svelte' | ||
import tracker from '../../plugin' | ||
export let currentSpace: Ref<Team> | ||
</script> | ||
<Issues {currentSpace} categories={[IssueStatus.Backlog]}></Issues> | ||
|
||
<Issues title={tracker.string.BacklogIssues} {currentSpace} categories={[IssueStatus.Backlog]} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters