From 8f335b68f48b252bac12aa05868d72702518bb01 Mon Sep 17 00:00:00 2001 From: MGrgr Date: Wed, 13 Dec 2023 22:34:38 +0300 Subject: [PATCH 1/4] fix: policy info - close btn --- src/components/PolicyCard/PolicyCardView.vue | 1 + .../PolicyCard/PolicyInfoDialog.vue | 1 + src/components/PolicyCard/PolicyInfoView.vue | 9 +++++++- types/components.d.ts | 21 ++++++++++--------- 4 files changed, 21 insertions(+), 11 deletions(-) diff --git a/src/components/PolicyCard/PolicyCardView.vue b/src/components/PolicyCard/PolicyCardView.vue index 6c48c2c..5a8d465 100644 --- a/src/components/PolicyCard/PolicyCardView.vue +++ b/src/components/PolicyCard/PolicyCardView.vue @@ -63,6 +63,7 @@ const { certificate, certificateLink, certificateValid } = useCertificate(props. :certificate-valid="!!certificateValid" :certificate-loading="certificateLoading" :certificate-link="certificateLink" + @close-dialog="dialog = false" /> diff --git a/src/components/PolicyCard/PolicyInfoDialog.vue b/src/components/PolicyCard/PolicyInfoDialog.vue index 53a7549..04ef1ec 100644 --- a/src/components/PolicyCard/PolicyInfoDialog.vue +++ b/src/components/PolicyCard/PolicyInfoDialog.vue @@ -22,6 +22,7 @@ const { certificateLink, certificateValid, certificate } = useCertificate() :certificate-valid="!!certificateValid" :certificate-loading="certificateLoading" :certificate-link="certificateLink" + @close-dialog="dialog = false" /> diff --git a/src/components/PolicyCard/PolicyInfoView.vue b/src/components/PolicyCard/PolicyInfoView.vue index f912cce..bf0c819 100644 --- a/src/components/PolicyCard/PolicyInfoView.vue +++ b/src/components/PolicyCard/PolicyInfoView.vue @@ -1,5 +1,5 @@