iachat/app/javascript/dashboard/helper
Pranav 77b718c22c
fix: Remove user.permissions, resolve it from accounts (#9990)
Remove the `user.permissions` field and resolve the permissions directly
from the accounts array in the user. This change ensures that the cache
or previous values from the last active account don't affect the
permissions.

In this PR: 
- Remove user.permissions usage, replace it with getUserPermissions
method.
- Remove json.permissions from user.json.jbuilder
2024-08-21 11:36:26 +05:30
..
AnalyticsHelper fix: return if user is not present (#9768) 2024-07-15 17:42:35 +05:30
AudioAlerts fix: TypeError cannot read properties of undefined (reading '$store') (#9777) 2024-07-15 18:50:43 +05:30
CacheHelper feat: fallback to DB localStorage for idb names (#8682) 2024-01-15 15:08:15 +05:30
directives feat: SLA threshold card component (#9163) 2024-03-27 13:19:51 +05:30
specs fix: Remove user.permissions, resolve it from accounts (#9990) 2024-08-21 11:36:26 +05:30
actionCable.js feat: Reconnect logic (#9453) 2024-06-03 15:54:19 +05:30
actionQueryGenerator.js fix: Unable to save automation "send email to team" (#6052) 2022-12-12 20:10:33 +05:30
APIHelper.js fix: Allow users to login even if they have access to more than 15 accounts (#4475) 2022-04-14 20:54:26 +05:30
auditlogHelper.js fix: TypeError: Cannot read properties of null (reading 'user_id') (#9884) 2024-08-07 14:42:01 +05:30
automationHelper.js feat: Add the ability to un-assign teams using automation (#9668) 2024-06-26 12:40:36 -07:00
commons.js feat: Add the ability add new portal (#5219) 2022-08-10 09:27:52 +05:30
conversationHelper.js fix: TypeError: t.messages.at is not a function (#9950) 2024-08-13 19:16:15 +05:30
customViewsHelper.js feat: update tool-chain to latest (#7975) 2023-09-27 14:02:34 +05:30
DOMHelpers.js feat: add promise based loader for FB script (#9780) 2024-07-22 11:32:05 +05:30
downloadHelper.js feat: Add business hours in downloadable reports (#4674) 2022-05-27 09:26:59 +05:30
editorHelper.js feat: Support image resize in message signature (#8042) 2023-10-09 13:20:12 +05:30
featureHelper.js feat: Update the design for user management page (#9948) 2024-08-13 19:31:31 +05:30
filterQueryGenerator.js chore: Support multiple values for automation message content (#7871) 2023-09-19 13:04:58 +05:30
flag.js chore: Replace packages with native functions (#5140) 2022-08-03 17:08:21 +05:30
inbox.js feat: add reauthorization banner for Facebook (#9553) 2024-05-30 09:41:04 +05:30
labelColor.js feat: Create portal UI improvements (#5261) 2022-08-18 17:11:19 +05:30
permissionsHelper.js fix: Remove user.permissions, resolve it from accounts (#9990) 2024-08-21 11:36:26 +05:30
portalHelper.js feat: Add support to uncategorized articles (#6912) 2023-05-02 15:35:26 +05:30
preChat.js feat: Support Regex validation for custom attributes (#7856) 2024-01-23 18:01:57 +04:00
pushHelper.js feat: Replace alertMixin usage with useAlert (#9793) 2024-07-23 16:41:11 +05:30
ReconnectService.js fix: Add a DISCONNECT_DELAY_THRESHOLD while fetching the conversations (#9757) 2024-07-10 20:28:30 -07:00
routeHelpers.js fix: Remove user.permissions, resolve it from accounts (#9990) 2024-08-21 11:36:26 +05:30
scriptHelpers.js chore: Replace eventBus with mitt.js [CW-3275] (#9539) 2024-05-31 15:50:36 +05:30
snoozeHelpers.js feat: Inbox header actions (Snooze/Delete) (#8858) 2024-02-06 08:54:15 +05:30
states.js Move src to dashboard (#152) 2019-10-16 14:36:17 +05:30
themeHelper.js feat: Add the option to toggle the dark/light color-scheme (#7662) 2023-08-03 12:21:45 -07:00
uploadHelper.js feat: Add upload under account scope (#7914) 2023-09-19 09:51:54 +05:30
URLHelper.js fix: Instagram audio rendering issues (#9957) 2024-08-14 13:24:00 +05:30
validations.js chore: Migrate all instances of old vuelidate to new v2 syntax [CW-3274] (#9623) 2024-07-30 15:08:22 +05:30