Skip to content

Commit

Permalink
chore: remove some old ts exclamation marks from envoy related views (#…
Browse files Browse the repository at this point in the history
…3511)

See #3509 (comment)

Signed-off-by: John Cowen <[email protected]>
  • Loading branch information
johncowen authored Feb 6, 2025
1 parent e99bf6c commit 7f66d24
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
v-slot="{ data: stats, refresh }"
>
<DataCollection
:items="stats!.raw.split('\n')"
:items="stats.raw.split('\n')"
:predicate="item => [
`listener.${props.data.listenerAddress.length > 0 ? props.data.listenerAddress : route.params.connection}`,
`cluster.${props.data.name}.`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
v-slot="{ data, refresh }"
>
<DataCollection
:items="data!.raw.split('\n')"
:items="data.raw.split('\n')"
:predicate="item => item.includes(`.${route.params.connection}.`)"
v-slot="{ items: lines }"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
>
<XCodeBlock
language="json"
:code="statsData!.raw"
:code="statsData.raw"
is-searchable
:query="route.params.codeSearch"
:is-filter-mode="route.params.codeFilter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
v-slot="{ data: stats, refresh }"
>
<DataCollection
:items="stats!.raw.split('\n')"
:items="stats.raw.split('\n')"
:predicate="item => [
`listener.${route.params.connection}`,
].some(prefix => item.startsWith(prefix))"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
v-slot="{ data, refresh }"
>
<DataCollection
:items="data!.raw.split('\n')"
:items="data.raw.split('\n')"
:predicate="item => item.includes(`.${route.params.connection}.`)"
v-slot="{ items: lines }"
>
Expand Down

0 comments on commit 7f66d24

Please sign in to comment.