From 3b54f417f3d94ea46a4900a2b0a12e3e274702da Mon Sep 17 00:00:00 2001 From: Remko Date: Thu, 5 Dec 2024 10:00:53 +0100 Subject: [PATCH] Updated page --- src/entities/page/page.ts | 2 +- src/modals/page/AddPageModal.vue | 61 +++++++++---------- src/modals/page/EditPageModal.vue | 59 +++++++++--------- .../AddPublicationDataModal.vue | 1 + .../EditPublicationDataModal.vue | 1 + src/views/AdminSettings.vue | 2 +- src/views/pages/PageDetail.vue | 28 ++++++--- 7 files changed, 83 insertions(+), 71 deletions(-) diff --git a/src/entities/page/page.ts b/src/entities/page/page.ts index 1a510c98..a58e1d78 100644 --- a/src/entities/page/page.ts +++ b/src/entities/page/page.ts @@ -41,7 +41,7 @@ export class Page implements TPage { /* istanbul ignore next */ /** * Validates the page data against a schema - * @returns SafeParseReturnType containing validation result + * @return SafeParseReturnType containing validation result */ public validate(): SafeParseReturnType { // Schema validation for page data diff --git a/src/modals/page/AddPageModal.vue b/src/modals/page/AddPageModal.vue index 8f50fd34..3b7b2fc8 100644 --- a/src/modals/page/AddPageModal.vue +++ b/src/modals/page/AddPageModal.vue @@ -1,6 +1,8 @@ +