Fix handler registration.

The way it was being done meant that unregisterHandlers would not
have worked.
This commit is contained in:
D. Berge
2025-08-13 15:34:35 +02:00
parent 73d85ef81f
commit 7205ec42a8

View File

@@ -92,18 +92,12 @@ export default {
this.$store.dispatch('registerHandler', {
table: '.jwt',
handler: (context, message) => {
this.handleJWT(context, message);
}
handler: this.handleJWT(context, message)
});
this.$store.dispatch('registerHandler', {
table: 'project',
handler: (context, message) => {
this.handleProject(context, message);
}
handler: this.handleProject(context, message)
});
},