From 1fb3e4225b8068bf0f507e909494cd16b98278b8 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 28 Dec 2020 11:07:11 +0100 Subject: [PATCH] Enable scripting for frontend. --- frontend/app/shared/services/contents.service.ts | 1 + frontend/app/shared/state/contents.state.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/app/shared/services/contents.service.ts b/frontend/app/shared/services/contents.service.ts index 6d1456fc1..544e399e9 100644 --- a/frontend/app/shared/services/contents.service.ts +++ b/frontend/app/shared/services/contents.service.ts @@ -114,6 +114,7 @@ export class BulkResultDto { export interface BulkUpdateDto { readonly jobs: ReadonlyArray; + readonly doNotScript?: boolean; readonly checkReferrers?: boolean; } diff --git a/frontend/app/shared/state/contents.state.ts b/frontend/app/shared/state/contents.state.ts index e7570d196..7493b2bd0 100644 --- a/frontend/app/shared/state/contents.state.ts +++ b/frontend/app/shared/state/contents.state.ts @@ -374,6 +374,7 @@ export abstract class ContentsStateBase extends State { private bulkMany(contents: ReadonlyArray, checkReferrers: boolean, job: Partial): Observable> { const update = { + doNotScript: false, jobs: contents.map(x => ({ id: x.id, schema: x.schemaName,