diff --git a/client/prettier.config.js b/client/prettier.config.js index 5fb801d1631..df792433737 100644 --- a/client/prettier.config.js +++ b/client/prettier.config.js @@ -1,4 +1,5 @@ module.exports = { tabWidth: 4, - printWidth: 120 + printWidth: 120, + bracketSameLine: true }; diff --git a/client/src/components/Annotation.vue b/client/src/components/Annotation.vue index 4cde03e7d99..5c4ccef7a23 100644 --- a/client/src/components/Annotation.vue +++ b/client/src/components/Annotation.vue @@ -7,8 +7,7 @@ v-b-tooltip.hover="{ boundary: 'viewport', placement: tooltipPlacement }" :title="'Edit annotation...' | localize" :placeholder="'Edit annotation...' | localize" - v-slot="{ toggleEdit, placeholder, stateValidator }" - > + v-slot="{ toggleEdit, placeholder, stateValidator }"> + :state="stateValidator(inputScope.value, annotation)"> diff --git a/client/src/components/Citation/Citations.vue b/client/src/components/Citation/Citations.vue index b65406d7736..26dac5deb21 100644 --- a/client/src/components/Citation/Citations.vue +++ b/client/src/components/Citation/Citations.vue @@ -26,8 +26,7 @@ :citation="citation" :output-format="outputFormat" v-for="(citation, index) in citations" - :key="index" - /> + :key="index" />
@@ -38,16 +37,14 @@ @show="$emit('show')" @shown="$emit('shown')" @hide="$emit('hide')" - @hidden="$emit('hidden')" - > + @hidden="$emit('hidden')"> + :key="index" />
diff --git a/client/src/components/ClickToEdit.vue b/client/src/components/ClickToEdit.vue index af92b9b9566..71a4d0d9bd5 100644 --- a/client/src/components/ClickToEdit.vue +++ b/client/src/components/ClickToEdit.vue @@ -11,8 +11,7 @@ :toggleEdit="toggleEdit" :editing="editing" :placeholder="placeholder" - :stateValidator="stateValidator" - > + :stateValidator="stateValidator"> diff --git a/client/src/components/Collections/ListCollectionCreator.vue b/client/src/components/Collections/ListCollectionCreator.vue index fb0116508d4..2f9acfc8c3e 100644 --- a/client/src/components/Collections/ListCollectionCreator.vue +++ b/client/src/components/Collections/ListCollectionCreator.vue @@ -65,8 +65,7 @@ :oncancel="oncancel" :hide-source-items="hideSourceItems" @onUpdateHideSourceItems="onUpdateHideSourceItems" - @clicked-create="clickedCreate" - > + @clicked-create="clickedCreate"> diff --git a/client/src/components/Collections/PairCollectionCreator.vue b/client/src/components/Collections/PairCollectionCreator.vue index fd3727dd36d..eb3517d4393 100644 --- a/client/src/components/Collections/PairCollectionCreator.vue +++ b/client/src/components/Collections/PairCollectionCreator.vue @@ -82,8 +82,7 @@ @onUpdateHideSourceItems="onUpdateHideSourceItems" @clicked-create="clickedCreate" @remove-extensions-toggle="removeExtensionsToggle" - :suggested-name="initialSuggestedName" - > + :suggested-name="initialSuggestedName">