From e7ce79acd3596aee48221ffd931537cfe563b611 Mon Sep 17 00:00:00 2001 From: Travis Briggs Date: Wed, 6 Nov 2024 12:00:29 -0800 Subject: [PATCH] Fix Typescript errors --- rainfall-frontend/src/components/Release.vue | 11 +++++------ rainfall-frontend/src/components/SitesList.vue | 17 ++++++++++++----- rainfall-frontend/src/views/EditSiteView.vue | 8 +++++++- 3 files changed, 24 insertions(+), 12 deletions(-) diff --git a/rainfall-frontend/src/components/Release.vue b/rainfall-frontend/src/components/Release.vue index 1c30940..4846ed1 100644 --- a/rainfall-frontend/src/components/Release.vue +++ b/rainfall-frontend/src/components/Release.vue @@ -115,6 +115,9 @@ export default defineComponent({ this.$router.push(`/site/${this.release.site_id}`); } }, + showDeleteModal() { + (this.$refs.deleteModal as typeof DeleteConfirmModal).show(); + }, }, watch: { release(newRelease) { @@ -185,11 +188,7 @@ export default defineComponent({
{{ release.name }} -