Skip to content

Commit

Permalink
fixup! Add confirmation dialog before importing contacts
Browse files Browse the repository at this point in the history
Signed-off-by: greta <[email protected]>
  • Loading branch information
GretaD committed Jan 30, 2024
1 parent 858be11 commit caf7218
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/components/ConfirmationDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
{{ t('contacts', 'Cancel') }}
</NcButton>
<NcButton v-if="resolve"
:href="confirmUrl"
:rel="confirmUrl ? 'noopener noreferrer' : false"
:target="confirmUrl ? '_blank' : false"
:disabled="disabled"
type="primary"
@click="confirm">
Expand Down Expand Up @@ -48,14 +45,6 @@ export default {
type: String,
default: t('contacts', 'Confirm'),
},
confirmUrl: {
type: String,
default: undefined,
},
confirmAction: {
type: Function,
default: undefined,
},
disabled: {
type: Boolean,
default: undefined,
Expand All @@ -64,11 +53,9 @@ export default {
methods: {
confirm() {
this.resolve()
this.$emit('confirm')
},
cancel() {
this.reject()
this.$emit('cancel')
},
},
}
Expand Down

0 comments on commit caf7218

Please sign in to comment.