chatwoot/app/javascript
Shivam Mishra d2eda8bd08
fix: Update inconsistent behaviour of create and edit automation rules (#10197)
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>
2024-10-04 08:06:36 -07:00
..
dashboard fix: Update inconsistent behaviour of create and edit automation rules (#10197) 2024-10-04 08:06:36 -07:00
entrypoints feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
portal style: apply fixes for eslint issues [cw-3590] (#10210) 2024-10-03 15:02:12 +05:30
sdk fix: Avoid overflow caused by the empty span element (#9753) 2024-07-10 19:56:46 -07:00
shared fix: submit pre chat triggering native submit event (#10224) 2024-10-04 20:31:25 +05:30
superadmin_pages style: apply fixes for eslint issues [cw-3590] (#10210) 2024-10-03 15:02:12 +05:30
survey style: apply fixes for eslint issues [cw-3590] (#10210) 2024-10-03 15:02:12 +05:30
v3 fix: emit events across the app (#10227) 2024-10-04 08:03:41 -07:00
widget fix: emit events across the app (#10227) 2024-10-04 08:03:41 -07:00