From 5b5a63114c78b06e5efdf3cbf9354c251a1431c7 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 9 Apr 2026 19:55:08 +0000 Subject: [PATCH] Make the permission property an enum --- ts/rmo/content/compliance/Permission.vue | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/ts/rmo/content/compliance/Permission.vue b/ts/rmo/content/compliance/Permission.vue index 0b3bafb4..d2765cfd 100644 --- a/ts/rmo/content/compliance/Permission.vue +++ b/ts/rmo/content/compliance/Permission.vue @@ -83,7 +83,7 @@ @@ -98,7 +98,9 @@
@@ -172,7 +174,7 @@ @@ -188,7 +190,9 @@
@@ -240,7 +244,7 @@

@@ -288,9 +292,14 @@ import ProgressBarCompliance from "@/rmo/components/ProgressBarCompliance.vue"; interface Props { district: District; } +enum Permission { + GRANTED = "access-granted", + WITH_OWNER = "access-with-owner", + DENIED = "access-denied", +} const props = defineProps(); const hasDog = ref(false); -const selectedPermission = ref(""); +const selectedPermission = ref(); function toggleDogWarning() { /*