Bug 33408: Add storeToRefs to ERMStore
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Wed, 12 Apr 2023 08:36:18 +0000 (08:36 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 15 May 2023 13:17:27 +0000 (13:17 +0000)
commitac5e350eadd7e22d4ab1d35896ea13680bc75412
tree4b8bad611d742c22b219b047e0bf80beab39a71b
parent9d2efd3ad646b490efab4078b28027956f4c0a61
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>
(cherry picked from commit 1610a1d1633e7c398096e86a98239fd9171b5ea7)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue