mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
chore: Move i18nApply localization to the account transformer
This commit is contained in:
@@ -51,10 +51,6 @@ export class GetAccount {
|
||||
// Triggers `onAccountViewed` event.
|
||||
await this.eventPublisher.emitAsync(events.accounts.onViewed, eventPayload);
|
||||
|
||||
return this.i18nService.i18nApply(
|
||||
[['accountTypeLabel'], ['accountNormalFormatted']],
|
||||
transformed,
|
||||
tenantId
|
||||
);
|
||||
return transformed;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user