mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
+1
-1
@@ -310,7 +310,7 @@ const stateHandlers = {
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
textForEvent: function(ev) {
|
textForEvent: function(ev) {
|
||||||
const handler = ev.isState() ? stateHandlers[ev.getType()] : handlers[ev.getType()];
|
const handler = (ev.isState() ? stateHandlers : handlers)[ev.getType()];
|
||||||
if (handler) return handler(ev);
|
if (handler) return handler(ev);
|
||||||
return '';
|
return '';
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user