trigger protocol render (temporary)

This commit is contained in:
Julian Krauser 2024-10-18 15:23:37 +02:00
parent d62436722a
commit 225b686de6
2 changed files with 9 additions and 1 deletions

View file

@ -100,5 +100,11 @@ export const useProtocolStore = defineStore("protocol", {
})
.catch((err) => {});
},
printProtocol() {
return http
.post(`/admin/protocol/${this.activeProtocol}/render`)
.then(() => {})
.catch(() => {});
},
},
});