From 500c38569cb84387b74c3bb155be1073877ad1d5 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 20 May 2022 13:15:50 +0200 Subject: [PATCH] Fix validation for publish. --- frontend/src/app/shared/state/contents.state.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/app/shared/state/contents.state.ts b/frontend/src/app/shared/state/contents.state.ts index 58c043d39..947e4b242 100644 --- a/frontend/src/app/shared/state/contents.state.ts +++ b/frontend/src/app/shared/state/contents.state.ts @@ -425,6 +425,9 @@ export abstract class ContentsStateBase extends State { private bulkMany(contents: ReadonlyArray, checkReferrers: boolean, job: Partial): Observable> { const update = { + // This is set to true by default, so we turn it off here. + optimizeValidation: false, + dotNotValidate: false, doNotScript: false, jobs: contents.map(x => ({ id: x.id,