Skip to content

Commit

Permalink
Controlled vocabulary support
Browse files Browse the repository at this point in the history
  • Loading branch information
jyhein committed Jan 31, 2025
1 parent 5030fa5 commit 99c6af9
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
v-if="form"
v-bind="form"
@set="set"
@success="triggerDataChange"
@success="customSuccess"
></PkpForm>
</div>
</template>
Expand All @@ -18,7 +18,6 @@ import PkpForm from '@/components/Form/Form.vue';
import {useFetch} from '@/composables/useFetch';
import {useForm} from '@/composables/useForm';
import {useUrl} from '@/composables/useUrl';
import {useDataChanged} from '@/composables/useDataChanged';
const props = defineProps({
canEdit: {type: Boolean, required: true},
Expand Down Expand Up @@ -55,7 +54,9 @@ const displayNoFieldsEnabled = computed(() => {
return false;
});
const {triggerDataChange} = useDataChanged();
const {set, form} = useForm(publicationForm);
function customSuccess() {
fetchForm();
}
</script>

0 comments on commit 99c6af9

Please sign in to comment.