Skip to content

Commit 070ad4e

Browse files
committed
feat(): fix build
1 parent 46cecf2 commit 070ad4e

File tree

5 files changed

+26
-13
lines changed

5 files changed

+26
-13
lines changed

libs/mix-lib/src/model/core/mix-task.model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const TaskTypeIcons = {
5454
[TaskType.BUG]: 'assets/images/tasks/bug.svg',
5555
[TaskType.TASK]: 'assets/images/tasks/task.svg',
5656
[TaskType.STORY]: 'assets/images/tasks/story.svg',
57+
[TaskType.SWIMLANE]: 'assets/images/tasks/story.svg',
5758
};
5859

5960
export interface MixTaskNew {

libs/mix-share/src/modules/task-manage/components/task-header/task-header.component.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@
66
>
77
{{ TaskStatusDisplay[status] }}
88
</div>
9+
10+
<div class="add-btn">
11+
<mix-icon-button name="add"></mix-icon-button>
12+
</div>
913
</div>

libs/mix-share/src/modules/task-manage/components/task-header/task-header.component.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,13 @@
1313
border-left: 6px solid var(--color);
1414
border-radius: 0.125rem;
1515
}
16+
17+
.add-btn {
18+
background-color: var(--task-list-bg);
19+
border-radius: 0.125rem;
20+
width: 60px;
21+
display: flex;
22+
justify-content: center;
23+
align-items: center;
24+
}
1625
}

libs/mix-share/src/modules/task-manage/components/task-header/task-header.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ import {
55
TaskStatusColors,
66
TaskStatusDisplay,
77
} from '@mixcore/lib/model';
8+
import { MixIconButtonComponent } from '@mixcore/ui/icon-button';
89

910
@Component({
1011
selector: 'mix-task-header',
1112
standalone: true,
12-
imports: [CommonModule],
13+
imports: [CommonModule, MixIconButtonComponent],
1314
templateUrl: './task-header.component.html',
1415
styleUrls: ['./task-header.component.scss'],
1516
})
Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
<button class="mix-button"
2-
type="button"
3-
[appearance]="'icon'"
4-
[disabled]="loading || disabled"
5-
[showLoader]="loading"
6-
[size]="size"
7-
tuiButton>
8-
<!-- <span class="material-symbols-outlined">
9-
{{ name }}
10-
</span> -->
11-
12-
<span class="material-symbols-outlined">
1+
<button
2+
class="mix-button"
3+
type="button"
4+
[appearance]="'icon'"
5+
[disabled]="loading || disabled"
6+
[showLoader]="loading"
7+
[size]="size"
8+
tuiButton
9+
>
10+
<span class="mix-icon">
1311
{{ name }}
1412
</span>
1513
</button>

0 commit comments

Comments
 (0)