summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--frontend/src/lib/Form.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/lib/Form.ts b/frontend/src/lib/Form.ts
index ab0f4f7..b6d06f4 100644
--- a/frontend/src/lib/Form.ts
+++ b/frontend/src/lib/Form.ts
@@ -53,8 +53,8 @@ export function tagPending(a: OmitIdentifiers<FullTag>, b: OmitIdentifiers<FullT
}
export function comicPending(a?: FullComicFragment, b?: OmitIdentifiers<FullComicFragment>) {
- if (a === undefined) return b === undefined;
- if (b === undefined) return a === undefined;
+ if (a === undefined) return b !== undefined;
+ if (b === undefined) return a !== undefined;
return (
stringPending(a.title, b.title) ||