A collection of bug fixes (#3820)

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
This commit is contained in:
Fesaa 2025-06-04 09:45:10 +02:00 committed by GitHub
parent 6288d89651
commit 193e9b1da9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 268 additions and 89 deletions

View file

@ -26,7 +26,7 @@ import {Series} from 'src/app/_models/series';
import {User} from 'src/app/_models/user';
import {Volume} from 'src/app/_models/volume';
import {AccountService} from 'src/app/_services/account.service';
import {Action, ActionFactoryService, ActionItem} from 'src/app/_services/action-factory.service';
import {Action, ActionableEntity, ActionFactoryService, ActionItem} from 'src/app/_services/action-factory.service';
import {ImageService} from 'src/app/_services/image.service';
import {LibraryService} from 'src/app/_services/library.service';
import {EVENTS, MessageHubService} from 'src/app/_services/message-hub.service';
@ -118,6 +118,10 @@ export class CardItemComponent implements OnInit {
* This is the entity we are representing. It will be returned if an action is executed.
*/
@Input({required: true}) entity!: CardEntity;
/**
* An optional entity to be used in the action callback
*/
@Input() actionEntity: ActionableEntity | null = null;
/**
* If the entity is selected or not.
*/