Skip to content

Commit 32796cb

Browse files
authored
fix: TT-395 remove button create, update and dropdown (#766)
* feat: TT-395 remove button create, update and dropdown * fix: TT-395 renamed the operations column
1 parent a9847cb commit 32796cb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/app/modules/activities-management/components/activity-list/activity-list.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@
44
<tr class="d-flex">
55
<th class="col-4 text-center">Activity ID</th>
66
<th class="col-4 text-center">Activity</th>
7-
<th class="col-2 text-center">Options</th>
8-
<th class="col-2 text-center">Operation</th>
7+
<th class="col-2 text-center hidden">Options</th>
8+
<th class="col-4 text-center">Status</th>
99
</tr>
1010
</thead>
1111
<app-loading-bar *ngIf="isLoading$ | async"></app-loading-bar>
1212
<tbody *ngIf="(isLoading$ | async) === false">
1313
<tr class="d-flex" *ngFor="let activity of activities">
1414
<td class="col-4 text-break">{{ activity.id }}</td>
1515
<td class="col-4">{{ activity.name }}</td>
16-
<td class="col-2 text-center">
16+
<td class="col-2 text-center hidden">
1717
<button type="button" class="btn btn-sm btn-primary" (click)="updateActivity(activity.id)">
1818
<i class="fa fa-pencil fa-xs"></i>
1919
</button>
2020
</td>
21-
<td class="col-2 text-center">
22-
<app-dropdown
23-
[info] = "activity"
24-
(updateInfo) = "changeOperation($event)"
25-
> </app-dropdown>
21+
<td class="col-4 text-center">
22+
<div class="flex justify-center">
23+
<em class="fa mr-2 mt-1" [ngClass]="[activity.btnIcon, activity.iconColor]"></em>
24+
<p> {{ activity.btnName }}</p>
25+
</div>
2626
</td>
2727
</tr>
2828
</tbody>

src/app/modules/activities-management/pages/activities-management.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="col-12 col-md-9 px-0">
2-
<div>
2+
<div class="hidden">
33
<app-create-activity
44
[showActivityForm]="showActivityForm" (changeValueShowActivityForm)="showActivityForm = $event"></app-create-activity>
55
</div>

0 commit comments

Comments
 (0)