Add delete library functionality

More reactivity
This commit is contained in:
aditya.chandel
2024-12-20 18:32:41 -07:00
parent e175a7e255
commit 36c85bfb06
24 changed files with 284 additions and 248 deletions
@@ -1,5 +1,4 @@
import {Component, OnInit, OnDestroy} from '@angular/core';
import {BookProgressService} from '../../service/book-progress-service';
import {Subscription} from 'rxjs';
import {NgClass} from '@angular/common';
import {BookUpdateEvent} from '../../model/book.model';
@@ -16,8 +15,6 @@ export class NotificationComponent implements OnInit, OnDestroy {
glowing: boolean = false;
private eventSubscription!: Subscription;
constructor(private bookProgressService: BookProgressService) {}
ngOnInit(): void {
/*this.eventSubscription = this.bookProgressService.connect(1).subscribe({
next: (event: BookUpdateEvent) => {