chatwoot/app/javascript/dashboard
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
..
api chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00
assets feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
components fix: emit events across the app (#10227) 2024-10-04 08:03:41 -07:00
composables fix: Update inconsistent behaviour of create and edit automation rules (#10197) 2024-10-04 08:06:36 -07:00
constants feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
helper fix: Use arrow function to bind methods to class (#10215) 2024-10-04 08:05:34 -07:00
i18n fix: signup form broken in production (#10206) 2024-10-03 11:23:30 +05:30
mixins feat: Rewrite automations/methodsMixin to a composable (#9956) 2024-08-27 12:30:08 +05:30
modules fix: Update input event bindings to use blur events (#10216) 2024-10-04 08:04:56 -07:00
routes fix: Update inconsistent behaviour of create and edit automation rules (#10197) 2024-10-04 08:06:36 -07:00
store feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
App.vue feat: Vite + vue 3 💚 (#10047) 2024-10-02 00:36:30 -07:00
featureFlags.js chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00