Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Wellheor1 committed Dec 2, 2024
1 parent 3ff5376 commit 1d9488a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions l2-frontend/src/construct/ParaclinicResearchEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@
<Treeselect
v-model="row.newGroupId"
placeholder="Группа..."
:options="possibleGroupForField"
:options="possibleGroupsForField"
/>
</div>
</div>
Expand Down Expand Up @@ -1307,7 +1307,7 @@ export default {
showAllDepartmentForTemplateField: false,
userDepartmentId: null,
showPermissionsModal: false,
possibleGroupForField: [],
possibleGroupsForField: [],
};
},
computed: {
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }));
},
},
};
Expand Down

0 comments on commit 1d9488a

Please sign in to comment.