Skip to content

Commit

Permalink
Fix Catalan language support in General.tsx and BaseClient.js
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjrh committed Sep 22, 2024
1 parent c13831b commit bfe7a74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions api/app/clients/BaseClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,6 @@ class BaseClient {
const User = require('~/models/User');
const { email } = await User.findOne({ _id: user }).lean();

const { email } = await User.findOne({ user }).lean();

global.appInsights.trackEvent({
name: 'AzureQuery',
properties: {
Expand Down
1 change: 1 addition & 0 deletions client/src/components/Nav/SettingsTabs/General/General.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export const LangSelector = ({
{ value: 'id-ID', label: localize('com_nav_lang_indonesia') },
{ value: 'he-HE', label: localize('com_nav_lang_hebrew') },
{ value: 'fi-FI', label: localize('com_nav_lang_finnish') },
{ value: 'ca-ES', label: localize('com_nav_lang_catala') },
];

return (
Expand Down

0 comments on commit bfe7a74

Please sign in to comment.