Skip to content

Commit ab86bb5

Browse files
Copilotkbeaugrand
andcommitted
Fix PlanningListPage: Use MudTd instead of MudTh in RowTemplate
Corrected the element type from MudTh to MudTd for the delete button cell in the RowTemplate. MudTh should only be used in HeaderContent. Co-authored-by: kbeaugrand <9513635+kbeaugrand@users.noreply.github.com>
1 parent 942f58c commit ab86bb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/IoTHub.Portal.Client/Pages/Planning/PlanningListPage.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565
</MudTd>
6666
@if (canWrite)
6767
{
68-
<MudTh DataLabel="Delete" Style="text-align: center" @onclick:stopPropagation="true">
68+
<MudTd DataLabel="Delete" Style="text-align: center" @onclick:stopPropagation="true">
6969
<MudTooltip Text="Delete planning">
7070
<MudIconButton id="@($"delete-planning-{@context.Id}")" Color="Color.Default" Icon="@Icons.Material.Filled.Delete" Size="Size.Medium" OnClick="@(e => DeletePlanning(context))"></MudIconButton>
7171
</MudTooltip>
72-
</MudTh>
72+
</MudTd>
7373
}
7474
</RowTemplate>
7575
<PagerContent>

0 commit comments

Comments
 (0)