mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:47:07 +00:00
Fix handler registration.
The way it was being done meant that unregisterHandlers would not have worked.
This commit is contained in:
@@ -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)
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user