diff --git a/src/pages/Claim/ClaimList.vue b/src/pages/Claim/ClaimList.vue index 2f7f4279c..708472108 100644 --- a/src/pages/Claim/ClaimList.vue +++ b/src/pages/Claim/ClaimList.vue @@ -17,17 +17,8 @@ const router = useRouter(); const quasar = useQuasar(); const { t } = useI18n(); -onMounted(() => { - if (!stateStore.rightDrawer) { - stateStore.toggleRightDrawer(); - } -}); - -onUnmounted(() => { - if (stateStore.rightDrawer) { - stateStore.toggleRightDrawer(); - } -}); +onMounted(() => (stateStore.rightDrawer = true)); +onUnmounted(() => (stateStore.rightDrawer = false)); function stateColor(code) { if (code === 'pending') return 'green';