diff --git a/src/app/components/bookmark/bookmark.component.html b/src/app/components/bookmark/bookmark.component.html index 2348f6c..8289147 100644 --- a/src/app/components/bookmark/bookmark.component.html +++ b/src/app/components/bookmark/bookmark.component.html @@ -78,7 +78,7 @@
-
diff --git a/src/app/components/bookmark/bookmark.component.ts b/src/app/components/bookmark/bookmark.component.ts index 6cf82c5..24ebf15 100644 --- a/src/app/components/bookmark/bookmark.component.ts +++ b/src/app/components/bookmark/bookmark.component.ts @@ -11,7 +11,7 @@ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; import { MatSelectModule } from '@angular/material/select'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { MatTooltipModule } from '@angular/material/tooltip'; -import { Router } from '@angular/router'; +import { Router, RouterLink } from '@angular/router'; import { Project } from 'app/interface/project.interface'; import { BookmarkService } from 'app/services/bookmark.service'; import { ProjectsService, ProjectStats } from 'app/services/projects.service'; @@ -22,6 +22,7 @@ import { catchError, Observable, of, Subject, takeUntil, tap } from 'rxjs'; selector: 'app-bookmark', standalone: true, imports: [ + RouterLink, MatButtonModule, MatIconModule, AngorCardComponent, @@ -152,8 +153,4 @@ export class BookmarkComponent implements OnInit, OnDestroy { }) ).subscribe(); } - - openChat(pubKey: string): void { - this._router.navigate(['/chat', pubKey]); - } }