continuation can change, so bind to it
This commit is contained in:
parent
a2625630ad
commit
5898177f0b
1 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,9 @@ export function renderMessage(t, vm, children) {
|
|||
"TextMessageView": true,
|
||||
own: vm.isOwn,
|
||||
pending: vm.isPending,
|
||||
continuation: vm.isContinuation,
|
||||
continuation: vm => vm.isContinuation,
|
||||
};
|
||||
const sender = t.div({className: `sender usercolor${vm.senderColorNumber}`}, vm => vm.isContinuation ? "" : vm.sender);
|
||||
const sender = t.div({className: `sender usercolor${vm.senderColorNumber}`}, vm.sender);
|
||||
children = [sender].concat(children);
|
||||
return t.li(
|
||||
{className: classes},
|
||||
|
|
Reference in a new issue