Remove emptycontent for no questions as the add button is enough, ref #296
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
491941a3e8
commit
4d562ffffa
|
@ -91,17 +91,6 @@
|
||||||
</Actions>
|
</Actions>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- No questions -->
|
|
||||||
<EmptyContent v-if="hasQuestions">
|
|
||||||
{{ t('forms', 'This form does not have any questions') }}
|
|
||||||
<template #desc>
|
|
||||||
<button class="empty-content__button primary" @click="openQuestionMenu">
|
|
||||||
<span class="icon-add-white" />
|
|
||||||
{{ t('forms', 'Add a new one') }}
|
|
||||||
</button>
|
|
||||||
</template>
|
|
||||||
</EmptyContent>
|
|
||||||
|
|
||||||
<!-- Questions list -->
|
<!-- Questions list -->
|
||||||
<Draggable v-model="form.questions"
|
<Draggable v-model="form.questions"
|
||||||
:animation="200"
|
:animation="200"
|
||||||
|
|
Loading…
Reference in a new issue