79354406

Date: 2025-01-14 08:49:40
Score: 0.5
Natty:
Report link

Resolved with the following snippet

this.messageActionsService.customActions$.next([
      {
        actionName: 'forward',
        actionLabelOrTranslationKey: 'Forward',
        isVisible: this.isVisible,
        actionHandler: this.actionHandler,
      },
    ]);
    
  isVisible() {
    return true;
  }

  actionHandler() {
    /* eslint-disable-next-line no-console */
    console.log('forwarded');
  }

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Calvin Seng