diff --git a/legalconsenthub/app/components/FormEngine.vue b/legalconsenthub/app/components/FormEngine.vue index 6ac5c7e..60f21d1 100644 --- a/legalconsenthub/app/components/FormEngine.vue +++ b/legalconsenthub/app/components/FormEngine.vue @@ -1,7 +1,7 @@ @@ -59,12 +69,12 @@ const applicationFormId = Array.isArray(route.params.id) ? route.params.id[0] : const { applicationForm, navigationLinks: links, - dropdownItems: items, updateApplicationForm } = await useApplicationFormNavigation(applicationFormId!) const { updateApplicationForm: updateForm, submitApplicationForm } = useApplicationForm() const { validateFormElements, getHighestComplianceStatus } = useApplicationFormValidator() +const { canWriteApplicationForms } = usePermissions() const userStore = useUserStore() const { user } = storeToRefs(userStore) diff --git a/legalconsenthub/app/pages/create.vue b/legalconsenthub/app/pages/create.vue index 81884e4..029a036 100644 --- a/legalconsenthub/app/pages/create.vue +++ b/legalconsenthub/app/pages/create.vue @@ -8,6 +8,8 @@ +
+ @@ -28,7 +30,7 @@ @add-input-form="handleAddInputForm" > - +
diff --git a/legalconsenthub/app/pages/index.vue b/legalconsenthub/app/pages/index.vue index 106949f..20490ab 100644 --- a/legalconsenthub/app/pages/index.vue +++ b/legalconsenthub/app/pages/index.vue @@ -29,15 +29,20 @@ - - - + - - - -