1
0
forked from PGL/Clyde

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

This commit is contained in:
2024-04-21 21:51:14 +02:00
15 changed files with 219 additions and 92 deletions

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() );
}