Parcourir la source

Fixing App.vue

svalavuo il y a 4 jours
Parent
commit
94bb85e275
1 fichiers modifiés avec 3 ajouts et 4 suppressions
  1. 3 4
      frontend/src/App.vue

+ 3 - 4
frontend/src/App.vue

@@ -1169,7 +1169,7 @@ export default {
         this.showMessage('Error deleting item: ' + error.message, 'error')
         this.showMessage('Error deleting item: ' + error.message, 'error')
       }
       }
     },
     },
-    
+
     showAddModal() {
     showAddModal() {
       this.isEditing = false
       this.isEditing = false
       this.formData = {
       this.formData = {
@@ -1736,7 +1736,7 @@ export default {
       this.showInvoiceItemsModal = false
       this.showInvoiceItemsModal = false
       this.selectedInvoice = {}
       this.selectedInvoice = {}
       this.invoiceItems = []
       this.invoiceItems = []
-    }
+    },
     
     
     async saveInvoiceItem() {
     async saveInvoiceItem() {
       try {
       try {
@@ -1804,7 +1804,7 @@ export default {
       this.showMessage('Logged out successfully!', 'success')
       this.showMessage('Logged out successfully!', 'success')
     },
     },
     
     
-    checkAuthStatus() {
+    async checkAuthStatus() {
       try {
       try {
         const response = await axios.get('/api/auth.php?action=status')
         const response = await axios.get('/api/auth.php?action=status')
         if (response.data.user) {
         if (response.data.user) {
@@ -1820,7 +1820,6 @@ export default {
       }
       }
     }
     }
   }
   }
-}
 </script>
 </script>
 
 
 <style scoped>
 <style scoped>