iachat/app/javascript/dashboard/routes/dashboard/settings
Gabriel Jablonski 7e0507e3b5
fix: invalid language tag in heatmap component in reports page (#12952)
## Description

This PR fixes a `RangeError: Invalid language tag` that occurs in the
Heatmap report when using locales with underscores (e.g., `pt_BR`,
`zh_TW`).

The issue was caused by passing the raw locale string from `vue-i18n`
(which uses underscores for some regions) directly to
`Intl.DateTimeFormat`. The `Intl` API expects BCP 47 language tags which
use hyphens (e.g., `pt-BR`).

This change sanitizes the locale string by replacing underscores with
hyphens before creating the `DateTimeFormat` instance.

Fixes #12951
2025-11-26 13:24:29 +05:30
..
account feat: SAML feedback changes [CW-5666] (#12511) 2025-09-24 16:07:07 +05:30
agentBots feat: Ability to reset api_access_token (#11565) 2025-05-29 14:42:13 +05:30
agents feat: SAML feedback changes [CW-5666] (#12511) 2025-09-24 16:07:07 +05:30
assignmentPolicy chore: Assignment policy improvements (#12429) 2025-09-16 14:10:10 +05:30
attributes fix: Translate Priority and Messages types in Automations and Macros (#11741) 2025-07-08 12:40:40 +05:30
auditlogs chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
automation feat: Add support for labels in automations (#11658) 2025-09-18 14:17:54 +05:30
billing fix: click event for billing support (#12942) 2025-11-25 14:53:27 +05:30
canned chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
components chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
customRoles chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
helper chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00
inbox feat: hide email forwarding address if INBOUND_EMAIL_DOMAIN is not configured (#12768) 2025-11-18 18:05:12 -08:00
integrations fix: Brand installation name not showing (#12861) 2025-11-13 22:16:25 +05:30
labels chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
macros chore: Replace Thumbnail with Avatar (#12119) 2025-08-11 15:47:17 +05:30
profile feat: Add the frontend support for MFA (#12372) 2025-09-18 21:16:06 +05:30
reports fix: invalid language tag in heatmap component in reports page (#12952) 2025-11-26 13:24:29 +05:30
security feat: Control the allowed login methods via Super Admin (#12892) 2025-11-17 21:55:12 -08:00
sla chore: Migrate to next Switch component (#12005) 2025-07-23 13:56:17 +05:30
teams feat: Update Inbox/Team creation UI (#12305) 2025-09-02 14:11:38 +05:30
settings.routes.js feat: SAML UI [CW-2958] (#12345) 2025-09-15 19:33:54 +05:30
SettingsHeader.vue chore: Improve layout styles (#12025) 2025-07-30 13:49:27 -07:00
SettingsLayout.vue feat: Agent assignment policy index page with CRUD actions (#12373) 2025-09-10 12:07:21 +05:30
SettingsSubPageHeader.vue chore: Remove older UI (#11720) 2025-07-01 09:43:44 +05:30
SettingsWrapper.vue feat: update colors for v4 (#10660) 2025-01-15 17:13:03 +05:30
Wrapper.vue chore: Improve layout styles (#12025) 2025-07-30 13:49:27 -07:00