Add back System.Drawing.Common, which is needed by MarkdownDeep.

This commit is contained in:
Joseph Milazzo 2025-06-05 05:51:40 -05:00
parent a720b9a19a
commit f06dfddbf1
3 changed files with 2 additions and 18 deletions

View file

@ -97,6 +97,7 @@
</PackageReference> </PackageReference>
<PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.1" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="8.1.1" />
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="8.0.3" /> <PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="8.0.3" />
<PackageReference Include="System.Drawing.Common" Version="9.0.5" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.9.0" /> <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.9.0" />
<PackageReference Include="System.IO.Abstractions" Version="22.0.14" /> <PackageReference Include="System.IO.Abstractions" Version="22.0.14" />
<PackageReference Include="VersOne.Epub" Version="3.3.4" /> <PackageReference Include="VersOne.Epub" Version="3.3.4" />

View file

@ -885,10 +885,6 @@ export class SeriesDetailComponent implements OnInit, AfterContentChecked {
this.cdRef.markForCheck(); this.cdRef.markForCheck();
} }
this.isLoading = false; this.isLoading = false;
this.cdRef.markForCheck(); this.cdRef.markForCheck();
}); });
@ -1082,19 +1078,6 @@ export class SeriesDetailComponent implements OnInit, AfterContentChecked {
} }
openVolume(volume: Volume) {
if (this.bulkSelectionService.hasSelections()) return;
if (volume.chapters === undefined || volume.chapters?.length === 0) {
this.toastr.error(this.translocoService.translate('series-detail.no-chapters'));
return;
}
this.router.navigate(['library', this.libraryId, 'series', this.seriesId, 'volume', volume.id]);
return;
this.readerService.readVolume(this.libraryId, this.seriesId, volume, false);
}
openEditChapter(chapter: Chapter) { openEditChapter(chapter: Chapter) {
const ref = this.modalService.open(EditChapterModalComponent, DefaultModalOptions); const ref = this.modalService.open(EditChapterModalComponent, DefaultModalOptions);

View file

@ -170,7 +170,7 @@
[libraryId]="libraryId" [libraryId]="libraryId"
[libraryType]="libraryType" [libraryType]="libraryType"
[actions]="chapterActions" [actions]="chapterActions"
(selection)="bulkSelectionService.handleCardSelection('chapter', scroll.viewPortInfo.startIndexWithBuffer + idx, volume.chapters.length, $event)" (selection)="bulkSelectionService.handleCardSelection('chapter', scroll.viewPortInfo.startIndexWithBuffer + idx, volume!.chapters.length, $event)"
[selected]="bulkSelectionService.isCardSelected('chapter', scroll.viewPortInfo.startIndexWithBuffer + idx)" [allowSelection]="true" [selected]="bulkSelectionService.isCardSelected('chapter', scroll.viewPortInfo.startIndexWithBuffer + idx)" [allowSelection]="true"
></app-chapter-card> ></app-chapter-card>
} }