Add scroll-to to add champ buttons
This commit is contained in:
parent
dbfb7804a8
commit
d837066091
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="champs-editor">
|
||||
<div v-if="state.typesDeChamp.length > 3" class="header">
|
||||
<button class="button" @click.prevent="addChamp">
|
||||
<button class="button" v-scroll-to="'.footer'" @click.prevent="addChamp">
|
||||
<template v-if="state.isAnnotation">
|
||||
Ajouter une annotation
|
||||
</template>
|
||||
|
@ -23,7 +23,7 @@
|
|||
</Draggable>
|
||||
|
||||
<div class="footer">
|
||||
<button class="button" @click.prevent="addChamp">
|
||||
<button class="button" v-scroll-to="'.footer'" @click.prevent="addChamp">
|
||||
<template v-if="state.isAnnotation">
|
||||
Ajouter une annotation
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue