RED-9175: quick fix.
This commit is contained in:
parent
5097ce3dba
commit
b8b4599891
@ -127,7 +127,7 @@ export class FilePreviewStateService {
|
||||
}
|
||||
|
||||
includePages(includedPages: number[]) {
|
||||
const newExcludedPages = this.#excludedPages$.value.filter(excludedPage => includedPages.includes(excludedPage));
|
||||
const newExcludedPages = this.#excludedPages$.value.filter(excludedPage => !includedPages.includes(excludedPage));
|
||||
this.#excludedPages$.next(newExcludedPages);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user