Fixes "new term modal" not opening.

This commit is contained in:
mateuswetah 2024-03-26 15:47:21 -03:00
parent 4cfc213229
commit dbcd9a94a6
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@
<template v-if="allowNewFromOptions && itemMetadatum.item"> <template v-if="allowNewFromOptions && itemMetadatum.item">
<!-- Term creation modal, used on admin for a complete term creation --> <!-- Term creation modal, used on admin for a complete term creation -->
<b-modal <b-modal
v-model:active="isTermCreationModalOpen" :model-value="isTermCreationModalOpen"
:width="768" :width="768"
trap-focus trap-focus
aria-role="dialog" aria-role="dialog"
@ -269,6 +269,7 @@
this.isTermCreationPanelOpen = true; this.isTermCreationPanelOpen = true;
else else
this.isTermCreationModalOpen = true; this.isTermCreationModalOpen = true;
console.log(this.isTermCreationModalOpen)
}, },
onMobileSpecialFocus() { onMobileSpecialFocus() {
this.$emit('mobile-special-focus'); this.$emit('mobile-special-focus');