Release Shakeout (#1266)
* Fixed an issue with fit to screen where spread images would fail to generate a paging area long enough. * Fixed pagination placement on original scaling * Fixed an issue with webtoon reader not reporting scroll events due to a fix from manga reader. * Fixing select on black book-reader theme * Fixing canvas split centering * Fixed a bug with white mode in book reader not rendering correctly. When bookmarking new pages after previously have viewing bookmarks for a series, ensure we clear out the temp cache else your new files wont be visible till next day. * Use grid on related tab * Clear bookmarks was not hooked up. Bulk add to collection didn't have label hidden * Fixed bug where filter might stay open between pages * Fixed typo on relationship for Adaptation * Contains was missing from series relation modal * Tweaked some methods and wording on reading list page * Cleaned up the phrasing when we abort a scan. * Fixed issue where typeahead wasn't reopening and it wasn't filtering selected options * Fixed some typeahead bugs and decreased interval for docker health check * Cleaned up and fixed some logic with receiving cover image update events Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
parent
49d8a7c6ca
commit
a062341564
26 changed files with 90 additions and 144 deletions
|
|
@ -51,10 +51,13 @@ export class ImageComponent implements OnChanges, OnDestroy {
|
|||
if (this.imageUrl === undefined || this.imageUrl === null || this.imageUrl === '') return;
|
||||
const enityType = this.imageService.getEntityTypeFromUrl(this.imageUrl);
|
||||
if (enityType === updateEvent.entityType) {
|
||||
const tokens = this.imageUrl.split('?')[1].split('&random=');
|
||||
const tokens = this.imageUrl.split('?')[1].split('&');
|
||||
|
||||
//...seriesId=123&random=
|
||||
const id = tokens[0].replace(enityType + 'Id=', '');
|
||||
let id = tokens[0].replace(enityType + 'Id=', '');
|
||||
if (id.includes('&')) {
|
||||
id = id.split('&')[0];
|
||||
}
|
||||
if (id === (updateEvent.id + '')) {
|
||||
this.imageUrl = this.imageService.randomize(this.imageUrl);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue