je sais vraiment pas ce que j'ai ajouté mais amélioration jt'e jure
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { ref } from 'vue'
|
||||
import { restGet, restPost } from '@/rest/restConsumer.js'
|
||||
|
||||
export const notifications = ref({});
|
||||
export const notifications = ref([]);
|
||||
|
||||
export function fetchNotifications(){
|
||||
restGet("/notifications").then( e => notifications.value = e );
|
||||
|
Reference in New Issue
Block a user