renamed search component to search-page
This commit is contained in:
1 parent
ca7e3fa489
commit
728dae4e59
8 files changed
+30
-30
No files matched your search
@@ -43,7 +43,7 @@ export class SeenModalComponent implements OnInit {
|
||||
) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
if (this.data.watchDate == null) {
|
||||
if (!this.data || !this.data.watchDate) {
|
||||
// ? no initial data was passed: populate date field with current date
|
||||
this.watchDate = formatDate(new Date(), 'yyyy-MM-dd', 'en-US');
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user