Koha/koha-tmpl/intranet-tmpl/prog/js/vue/stores/preservation.js
Jonathan Druart f5c581b0ad
Bug 30708: Rebase - Use a dedicated 'config' endpoint
To retrieve the sysprefs, instead of using the svc script. See bug
33606.

Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-18 15:42:00 -03:00

13 lines
334 B
JavaScript

import { defineStore } from "pinia";
export const usePreservationStore = defineStore("preservation", {
state: () => ({
config: {
settings: {
enabled: 0,
not_for_loan_waiting_list_in: null,
not_for_loan_default_train_in: 0,
},
},
}),
});