+
@@ -13,7 +13,7 @@
-
+
diff --git a/src/app/pages/search/searchresults/searchresults.html b/src/app/pages/search/searchresults/searchresults.html
index a7992d8..1aa81cb 100644
--- a/src/app/pages/search/searchresults/searchresults.html
+++ b/src/app/pages/search/searchresults/searchresults.html
@@ -5,9 +5,8 @@
}
@if(searchResults()!==null && searchResults()!.collection.items.length!==0){
-
-
-
-
+
- Results @for(el of searchResults()!.collection.items; track el.data[0].nasa_id){
- @@ -24,8 +23,7 @@ - } - + }
+
}
\ No newline at end of file
diff --git a/src/app/pages/video/video.ts b/src/app/pages/video/video.ts
index 5e9af01..eb8b1d4 100644
--- a/src/app/pages/video/video.ts
+++ b/src/app/pages/video/video.ts
@@ -1,4 +1,4 @@
-import { Component, inject, signal } from '@angular/core';
+import { Component, OnInit, inject, signal } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Collection } from '../../interfaces/nasa-api';
import { NAPOD } from '../../services/napod';
@@ -11,7 +11,7 @@ import { NAPOD } from '../../services/napod';
templateUrl: './video.html',
styleUrl: './video.css'
})
-export class Video {
+export class Video implements OnInit {
private readonly route = inject(ActivatedRoute)
asset=signal