Bug 33408: Add storeToRefs to ERMStore
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Wed, 12 Apr 2023 08:36:18 +0000 (08:36 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 13 Apr 2023 14:48:04 +0000 (11:48 -0300)
commit1610a1d1633e7c398096e86a98239fd9171b5ea7
treeaa3f05c1686ca61b58704211df47755ae63ad8d8
parenta94178217b73b46a6051c7551b0711966e88e045
Bug 33408: Add storeToRefs to ERMStore

It makes it so that any changes to the local property
is also reflected in the store and other components are
made aware of the new value. No need to explicitly
change both local property and store property values.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue