Fix tag/studio alias and caption null filtering (#2990)

* Fix null filter for alias/captions
* Fix error when selecting is null for captions
This commit is contained in:
WithoutPants
2022-10-11 14:21:07 +11:00
committed by GitHub
parent 6ce409cd56
commit 9bff498c28
5 changed files with 28 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ export const CaptionsCriterionOption = new CaptionsCriterionOptionType(
export class CaptionCriterion extends StringCriterion {
protected toCriterionInput() {
const value = valueToCode(this.value);
const value = valueToCode(this.value) ?? "";
return {
value,