Update CreateGroupController.js

This commit is contained in:
Yash Sancheti 2023-06-29 02:51:51 +05:30 committed by GitHub
parent 3f89908bfa
commit ba3e411fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@
scope.changeOffice = function (officeId) {
scope.addedClients = [];
scope.clientData.available = [];
resourceFactory.groupTemplateResource.get({staffInSelectedOfficeOnly: false, officeId: officeId,staffInSelectedOfficeOnly:true
resourceFactory.groupTemplateResource.get({officeId: officeId,staffInSelectedOfficeOnly:true
}, function (data) {
scope.staffs = data.staffOptions;
});