Skip to content

Commit

Permalink
Add GatewayClass RefView
Browse files Browse the repository at this point in the history
  • Loading branch information
weibaohui committed Jul 15, 2024
1 parent 981906f commit f48be2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion BlazorApp/Pages/Gateway/Gateway/GatewayIndex.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@using BlazorApp.Pages.Common
@using BlazorApp.Pages.Common.Html.HTable
@using BlazorApp.Pages.Common.Metadata
@using BlazorApp.Utils
@using Entity.Crd.Gateway
@using k8s.Models
@using Mapster
Expand Down Expand Up @@ -38,7 +39,9 @@
<AntDesign.Column Field="@context.Namespace()" Title="@L["Namespace"]" Width="110px"/>

<AntDesign.Column Title=@L["GatewayClassName"] TData="string" Width="150px">
<ColorfulTag>@context.Spec.GatewayClassName</ColorfulTag>
<RefView OnlyName
Ref="@KubeHelper.GetObjectRef("GatewayClass", context.Spec.GatewayClassName)">
</RefView>
</AntDesign.Column>


Expand Down

0 comments on commit f48be2f

Please sign in to comment.