diff --git a/nav-app/src/app/list-input/list-input.component.html b/nav-app/src/app/list-input/list-input.component.html
index e1340c9d9..ff69d6cc4 100644
--- a/nav-app/src/app/list-input/list-input.component.html
+++ b/nav-app/src/app/list-input/list-input.component.html
@@ -35,15 +35,13 @@
                 [(ngModel)]="item[config.valueField]"
                 (input)="updateList()"/>
         </mat-form-field>
-        @if (includeLinks && item.valid()) {
-            <span> trying something </span>
-            <a  class="assigned-link"
-                href="{{ item[config.valueField] }}"
-                target="_blank"
-                rel="noopener noreferrer">
-                {{ item[config.nameField] }}
-            </a>
-        }
+        <a  *ngIf="includeLinks && item.valid()"
+            class="assigned-link"
+            href="{{ item[config.valueField] }}"
+            target="_blank"
+            rel="noopener noreferrer">
+            {{ item[config.nameField] }}
+        </a>
         <div class="remove-button">
             <button class="button" (click)="remove(i)">remove</button>
         </div>