Fix: Make emails and openedEmail reactive references

This commit is contained in:
Jeffrey Biles
2020-09-15 19:00:25 -07:00
parent e656dd2f84
commit 8a37b6beea

View File

@@ -30,7 +30,7 @@
import axios from 'axios';
import MailView from '@/components/MailView.vue';
import ModalView from '@/components/ModalView.vue';
import { reactive } from 'vue';
import { ref } from 'vue';
import useEmailSelection from '@/composables/use-email-selection'
export default {
@@ -40,8 +40,8 @@
return {
emailSelection: useEmailSelection(),
format,
emails,
openedEmail: null
emails: ref(emails),
openedEmail: ref(null)
}
},
components: {