@subiz/widget-v4 4.1.190 → 4.1.191

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -474,7 +474,6 @@ class Event extends _common.Com {
474
474
  }))));
475
475
  }
476
476
  renderAIDevNote() {
477
- if (!this.props.isLast) return null;
478
477
  if (!this.props.store.isAIDevMode()) return null;
479
478
  let cid = _index.default.get(this.props.event.ev, 'data.message.conversation_id', '');
480
479
  if (cid.startsWith('cslight')) return null;
@@ -487,7 +486,7 @@ class Event extends _common.Com {
487
486
  let dislikecls = 'message-event-action-btn message-event-action-btn__dev message-event-action-btn_dislike';
488
487
  if (hasDislike) dislikecls += ' active';
489
488
  return (0, _preact.h)("div", {
490
- class: "message-event-actions"
489
+ class: "message-event-actions-static"
491
490
  }, (0, _preact.h)("div", {
492
491
  class: likecls,
493
492
  onClick: () => this.onSendReaction(hasLike ? 'remove_like' : 'like')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@subiz/widget-v4",
3
- "version": "4.1.190",
3
+ "version": "4.1.191",
4
4
  "main": "./compiled_src/lib.js",
5
5
  "scripts": {
6
6
  "dev": "npx webpack serve --config webpack.dev.js",
@@ -425,7 +425,6 @@ export default class Event extends Com {
425
425
  }
426
426
 
427
427
  renderAIDevNote() {
428
- if (!this.props.isLast) return null
429
428
  if (!this.props.store.isAIDevMode()) return null
430
429
  let cid = sb.get(this.props.event.ev, 'data.message.conversation_id', '')
431
430
  if (cid.startsWith('cslight')) return null
@@ -440,7 +439,7 @@ export default class Event extends Com {
440
439
  if (hasDislike) dislikecls += ' active'
441
440
 
442
441
  return (
443
- <div class='message-event-actions'>
442
+ <div class='message-event-actions-static'>
444
443
  <div class={likecls} onClick={() => this.onSendReaction(hasLike ? 'remove_like' : 'like')}>
445
444
  <div class='message-event-action-btn-svg like' /> Good
446
445
  </div>