@@ -168,6 +168,7 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
|
this.$emit('close')
|
||||||
this.$root.$emit('close')
|
this.$root.$emit('close')
|
||||||
},
|
},
|
||||||
async select() {
|
async select() {
|
||||||
|
|||||||
@@ -49,10 +49,10 @@
|
|||||||
</template>
|
</template>
|
||||||
</DashboardWidget>
|
</DashboardWidget>
|
||||||
<div class="center-button">
|
<div class="center-button">
|
||||||
<button @click="toggleAddCardModel" @close="toggleAddCardModel">
|
<button @click="toggleAddCardModel">
|
||||||
{{ t('deck', 'Add card') }}
|
{{ t('deck', 'Add card') }}
|
||||||
</button>
|
</button>
|
||||||
<CardCreateDialog v-if="showAddCardModal" />
|
<CardCreateDialog v-if="showAddCardModal" @close="toggleAddCardModel" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user