Merge remote-tracking branch 'origin/master' into AddBranchToCurriculum

This commit is contained in:
Wal committed 2024-04-21 21:51:14 +02:00
commit 9cd54bdae9
15 files changed
+219 -92

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { ref } from 'vue'
import { restGet, restPost } from '@/rest/restConsumer.js'
export const notifications = ref([]);
export function fetchNotifications(){
restGet("/notifications").then( e => notifications.value = e );
}
export function archiveNotification(id){
restPost("/notifications/" + id).then( e => fetchNotifications() );
}