{{ errors[`${relation}.${index}.identifier_orcid`][0] }}
@@ -310,7 +336,10 @@ const perPageOptions = [
placeholder="email@example.com"
class="text-xs compact-input"
/>
-
+
{{ errors[`${relation}.${index}.email`][0] }}
@@ -335,10 +364,10 @@ const perPageOptions = [
-
@@ -354,29 +383,30 @@ const perPageOptions = [
:key="element.id || index"
class="border-b border-gray-100 dark:border-slate-800 hover:bg-blue-50 dark:hover:bg-slate-800/70 transition-colors"
>
- |
-
+ |
+
|
{{ currentPage * perPage + index + 1 }} |
-
-
+
+
+
+
{{ getFieldError(index, 'name_type') }}
@@ -459,7 +489,7 @@ const perPageOptions = [
@update:model-value="updatePerson(index, 'pivot_contributor_type', $event)"
type="select"
:options="contributortypes"
- :is-read-only="element.status || !canEdit"
+ :is-read-only="!canEdit"
placeholder="Role"
class="text-xs compact-select"
:error="getFieldError(index, 'pivot_contributor_type')"
@@ -475,8 +505,7 @@ const perPageOptions = [
color="danger"
:icon="mdiTrashCan"
small
- @click="removeAuthor(index)"
- :disabled="element.status || !canEdit"
+ @click.prevent="removeAuthor(index)"
title="Remove person"
class="compact-button"
/>
@@ -542,9 +571,7 @@ const perPageOptions = [
/>
-
- Page {{ currentPageHuman }} of {{ numPages }}
-
+ Page {{ currentPageHuman }} of {{ numPages }}
@@ -568,4 +595,4 @@ const perPageOptions = [
padding: 0.5rem !important;
}
}
-
\ No newline at end of file
+
diff --git a/resources/js/Pages/Editor/Dataset/Edit.vue b/resources/js/Pages/Editor/Dataset/Edit.vue
index 9a2385c..bbaf3c1 100644
--- a/resources/js/Pages/Editor/Dataset/Edit.vue
+++ b/resources/js/Pages/Editor/Dataset/Edit.vue
@@ -13,7 +13,7 @@
-
+
diff --git a/resources/js/Pages/Submitter/Dataset/Edit.vue b/resources/js/Pages/Submitter/Dataset/Edit.vue
index 027bbc2..2806b58 100644
--- a/resources/js/Pages/Submitter/Dataset/Edit.vue
+++ b/resources/js/Pages/Submitter/Dataset/Edit.vue
@@ -3,7 +3,6 @@
-
@@ -17,7 +16,7 @@
You have unsaved changes
-
+
@@ -47,18 +46,18 @@
{{ flash.message }}
-
-
-
-
+
+
+
@@ -420,7 +419,7 @@
title="Creators"
:icon="mdiBookOpenPageVariant"
:header-icon="mdiPlusCircle"
- @header-icon-click="addNewAuthor()"
+ v-on:header-icon-click="addNewAuthor()"
>
Add contributors by searching existing persons or manually adding new ones.
|