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:
Jan-Christoph Borchardt 2020-04-23 14:14:25 +02:00 committed by Jonas Rittershofer
parent 491941a3e8
commit 4d562ffffa

View file

@ -91,17 +91,6 @@
</Actions>
</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 -->
<Draggable v-model="form.questions"
:animation="200"