From 887dcfaed1457e09c78f8864261e38bad316ee6a Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Thu, 25 Aug 2022 14:40:20 +0200 Subject: [PATCH] Add remove button to view cards in Author and Identifiers screens --- src/components/AuthorCardViewing.vue | 10 +++++++++- src/components/IdentifierCardViewing.vue | 10 +++++++++- src/components/ScreenAuthors.vue | 13 +++++++++---- src/components/ScreenIdentifiers.vue | 13 +++++++++---- 4 files changed, 36 insertions(+), 10 deletions(-) diff --git a/src/components/AuthorCardViewing.vue b/src/components/AuthorCardViewing.vue index 0cf1f867..064bf41e 100644 --- a/src/components/AuthorCardViewing.vue +++ b/src/components/AuthorCardViewing.vue @@ -38,6 +38,14 @@ title="Edit" v-on:click="$emit('editPressed')" /> + @@ -92,7 +100,7 @@ export default defineComponent({ authorErrors } }, - emits: ['editPressed', 'moveDown', 'moveUp'] + emits: ['editPressed', 'moveDown', 'moveUp', 'removePressed'] })