@bizdoc/core 1.13.0-next.11 → 1.13.0-next.12
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.
- package/esm2020/lib/compose/trace/flow.component.mjs +11 -10
- package/esm2020/lib/core/models.mjs +1 -1
- package/fesm2015/bizdoc-core.mjs +10 -9
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +10 -9
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/core/models.d.ts +0 -1
- package/package.json +1 -1
package/fesm2020/bizdoc-core.mjs
CHANGED
@@ -13786,17 +13786,18 @@ class FlowViewComponent extends TraceBase {
|
|
13786
13786
|
tooltip.note = this._translate.get('ActionTaken', who.name, action, time);
|
13787
13787
|
}
|
13788
13788
|
}
|
13789
|
-
else if (!node.estimate) {
|
13790
|
-
const time = this._fromNow(recipient.received);
|
13791
|
-
if (this._session.isImpersonating)
|
13792
|
-
tooltip.note = this._translate.personalize('ReceivedBy', this._session.profile.gender, this._session.profile.name, time);
|
13793
|
-
else
|
13794
|
-
tooltip.note = this._translate.get('YouReceived', time);
|
13795
|
-
}
|
13796
13789
|
else if (!recipient.estimate) {
|
13797
|
-
const who = await this._accounts.get(recipient.userId).toPromise();
|
13798
13790
|
const time = this._fromNow(recipient.received);
|
13799
|
-
|
13791
|
+
if (recipient.userId === this._session.userId) {
|
13792
|
+
if (this._session.isImpersonating)
|
13793
|
+
tooltip.note = this._translate.personalize('ReceivedBy', this._session.profile.gender, this._session.profile.name, time);
|
13794
|
+
else
|
13795
|
+
tooltip.note = this._translate.get('YouReceived', time);
|
13796
|
+
}
|
13797
|
+
else {
|
13798
|
+
const who = await this._accounts.get(recipient.userId).toPromise();
|
13799
|
+
tooltip.note = this._translate.personalize('ReceivedTime', who.gender, time);
|
13800
|
+
}
|
13800
13801
|
}
|
13801
13802
|
if (recipient.substitutingId) {
|
13802
13803
|
if (recipient.substitutingId === this._session.userId)
|