@bizdoc/core 1.13.29 → 1.13.30

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.
@@ -14594,7 +14594,7 @@ class TraceViewComponent extends TraceBase {
14594
14594
  if (recipient.byId === this._session.userId && !this._session.isImpersonating) {
14595
14595
  step.name = this._translate.get('ByYou', nameOf(who));
14596
14596
  if (action)
14597
- step.action = await actionBy(action, this._session.profile.byGender, recipient.id);
14597
+ step.action = await actionBy(action, You, recipient.id);
14598
14598
  }
14599
14599
  else {
14600
14600
  let by = await profileOf(recipient.byId);
@@ -14607,8 +14607,11 @@ class TraceViewComponent extends TraceBase {
14607
14607
  }
14608
14608
  }
14609
14609
  else {
14610
- if (recipient.userId === this._session.userId && !this._session.isImpersonating)
14610
+ if (recipient.userId === this._session.userId && !this._session.isImpersonating) {
14611
14611
  step.name = this._translate.get('You');
14612
+ if (action)
14613
+ step.action = await actionBy(action, You, recipient.id);
14614
+ }
14612
14615
  else {
14613
14616
  let who = await profileOf(recipient.userId);
14614
14617
  step.name = nameOf(who);