diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseElement.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseElement.vue
index aa81904b0b..0c0830b13b 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseElement.vue
+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseElement.vue
@@ -57,6 +57,11 @@ export default {
if (prop.type === "boolean") {
acc[key] = prop.value;
}
+
+ if (key === "disabled") {
+ const currentValue = acc[key];
+ acc[key] = !!currentValue;
+ }
return acc;
}, {});
const attr = show ? this.attr.showElement : this.attr;
diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseResource.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseResource.vue
index 85c67a76fb..85ce005129 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseResource.vue
+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/BaseResource.vue
@@ -1,5 +1,6 @@
+
+
diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/erm.js b/koha-tmpl/intranet-tmpl/prog/js/vue/routes/erm.js
index b63ac898d0..6f7d90a902 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/erm.js
+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/routes/erm.js
@@ -56,7 +56,7 @@ export const routes = [
{
path: "",
name: "AgreementsList",
- component: markRaw(AgreementsList),
+ component: markRaw(ResourceWrapper),
},
{
path: ":agreement_id",