Apply bug fixes from Noteforms (#341)
* rename const emits to emit * auth bug fixes * refactor page meta * fix file input empty ref * setProperties working_form store * add form creator to form list --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -17,7 +17,7 @@ const props = defineProps({
|
||||
modelValue: {type: Boolean},
|
||||
maxHeight: {type: Number, default: 200},
|
||||
})
|
||||
const emits = defineEmits(['click-away'])
|
||||
const emit = defineEmits(['click-away'])
|
||||
|
||||
const motion = ref(null)
|
||||
const collapsible = ref(null)
|
||||
@@ -47,6 +47,6 @@ const onLeave = (el, done) => {
|
||||
}
|
||||
|
||||
const onClickAway = (event) => {
|
||||
emits('click-away', event)
|
||||
emit('click-away', event)
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user