From 1d9488a62a9e68ba39f5db11042a8d59b7cf0b67 Mon Sep 17 00:00:00 2001 From: well Date: Mon, 2 Dec 2024 12:56:03 +0800 Subject: [PATCH] rename --- l2-frontend/src/construct/ParaclinicResearchEditor.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/l2-frontend/src/construct/ParaclinicResearchEditor.vue b/l2-frontend/src/construct/ParaclinicResearchEditor.vue index 37d36af153..7e227cedb0 100644 --- a/l2-frontend/src/construct/ParaclinicResearchEditor.vue +++ b/l2-frontend/src/construct/ParaclinicResearchEditor.vue @@ -952,7 +952,7 @@ @@ -1307,7 +1307,7 @@ export default { showAllDepartmentForTemplateField: false, userDepartmentId: null, showPermissionsModal: false, - possibleGroupForField: [], + possibleGroupsForField: [], }; }, computed: { @@ -1705,7 +1705,7 @@ export default { if (this.ex_deps.length > 0 && this.site_type === null) { this.site_type = this.ex_deps[0].pk; } - this.findPossibleGroupForField(); + this.findPossibleGroupsForField(); }, cancel() { // eslint-disable-next-line no-restricted-globals,no-alert @@ -1799,8 +1799,8 @@ export default { closePermissionsModal() { this.showPermissionsModal = false; }, - findPossibleGroupForField() { - this.possibleGroupForField = this.groups.map(group => ({ id: group.pk, label: group.pk })); + findPossibleGroupsForField() { + this.possibleGroupsForField = this.groups.map(group => ({ id: group.pk, label: group.pk })); }, }, };