Skip to content

Commit 6051eb9

Browse files
committed
remove not needed undefined handling
1 parent 4f7a771 commit 6051eb9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

projects/fusio-sdk/src/lib/component/about/about.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
@if (about.hasValue()) {
55
<dl>
66
<dt>API-Version</dt>
7-
<dd>{{about.value()?.apiVersion}}</dd>
7+
<dd>{{about.value().apiVersion}}</dd>
88
<dt>Title</dt>
9-
<dd>{{about.value()?.title}}</dd>
9+
<dd>{{about.value().title}}</dd>
1010
<dt>Description</dt>
11-
<dd>{{about.value()?.description}}</dd>
11+
<dd>{{about.value().description}}</dd>
1212
<dt>Scopes</dt>
1313
<dd>
14-
@for (scope of about.value()?.scopes; track $index) {
14+
@for (scope of about.value().scopes; track $index) {
1515
<span class="badge text-bg-primary me-1">{{scope}}</span>
1616
}
1717
</dd>
@@ -25,7 +25,7 @@ <h3>Links</h3>
2525
</tr>
2626
</thead>
2727
<tbody>
28-
@for (link of about.value()?.links; track $index) {
28+
@for (link of about.value().links; track $index) {
2929
<tr>
3030
<td>{{link.rel}}</td>
3131
<td><a href="{{link.href}}">{{link.href}}</a></td>

0 commit comments

Comments
 (0)