Skip to content

Commit

Permalink
feat(ui): adding ability to view drawer on click for gateway table (#523
Browse files Browse the repository at this point in the history
)
  • Loading branch information
BillyFigueroa authored Nov 4, 2024
1 parent 82a20d0 commit 45b0041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/lib/features/k8s/networks/gateways/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface Resource extends VirtualService {
export type Columns = ColumnWrapper<Row>

export function createStore(): ResourceStoreInterface<Resource, Row> {
const url = `/api/v1/resources/networks/gateways?fields=.metadata.name,.metadata.namespace,.metadata.creationTimestamp,.spec.servers`
const url = `/api/v1/resources/networks/gateways?fields=.metadata,.spec.servers`

const transform = transformResource<Resource, Row>((r) => {
const hosts = r.spec?.servers?.map((gateway) => gateway.hosts[0])
Expand Down

0 comments on commit 45b0041

Please sign in to comment.