Skip to content

Commit

Permalink
fix: titles for gateway changed [WTEL-4459]
Browse files Browse the repository at this point in the history
  • Loading branch information
Volodymyr Dekhtyaruk committed Apr 30, 2024
1 parent c7092d5 commit db53237
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export default {
chatTypeLocale = 'telegramBot.telegramBot';
break;
case ChatGatewayProvider.CUSTOM:
chatTypeLocale = 'customChat.customChatGateway';
chatTypeLocale = 'customChat.customChat';
break;
case ChatGatewayProvider.MESSENGER:
chatTypeLocale = `${this.chatType}.meta`;
Expand All @@ -380,8 +380,7 @@ export default {
default:
return this.$tc('objects.routing.gateways.gateways', 1);
}
return this.$t(`objects.routing.chatGateways.${chatTypeLocale}`)
.concat(' ', this.$tc('objects.routing.gateways.gateways', 1));
return this.$t(`objects.routing.chatGateways.${chatTypeLocale}`);
},
path() {
Expand Down

0 comments on commit db53237

Please sign in to comment.