mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-13 21:01:16 +08:00
When Vue 3 is used with options API, any assignment to `this.<something>` is converted to a Proxy before assignment. This is fine as long as we are in the options context, problem arises when we access this in a `composable` any mutations on the object doesn't behave correctly as expected, this PR fixes that by moving the `automation` object inside the composable and using it in the options. > Another option to fix such an issue is to make the object non-reactive, like done in places where we have `editorView`, but that wasn't viable here --------- Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> |
||
|---|---|---|
| .. | ||
| chatlist | ||
| commands | ||
| spec | ||
| emitter.js | ||
| index.js | ||
| store.js | ||
| useAccount.js | ||
| useAdmin.js | ||
| useAgentsList.js | ||
| useAI.js | ||
| useAutomation.js | ||
| useAutomationValues.js | ||
| useConfig.js | ||
| useConversationLabels.js | ||
| useDetectKeyboardLayout.js | ||
| useEditableAutomation.js | ||
| useIntegrationHook.js | ||
| useKeyboardEvents.js | ||
| useKeyboardNavigableList.js | ||
| useMacros.js | ||
| useReportMetrics.js | ||
| useUISettings.js | ||