Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overwritten Property in CreateGroupController.js #3530

Open
Onyx2406 opened this issue Jun 28, 2023 · 0 comments
Open

Overwritten Property in CreateGroupController.js #3530

Onyx2406 opened this issue Jun 28, 2023 · 0 comments

Comments

@Onyx2406
Copy link

Description

In the CreateGroupController.js file, the staffInSelectedOfficeOnly property is being overwritten in the same object literal.

Steps to Reproduce

  1. Open the CreateGroupController.js file.
  2. Navigate to the changeOffice function.
  3. Observe the resourceFactory.groupTemplateResource.get() function call.

Expected Behaviour

The value should be either true or false, depending on whether the operation should only consider staff in the selected office or not.

Actual Behaviour

The staffInSelectedOfficeOnly property is defined twice in the object, first being set to false and then immediately being set to true.

Settings

  • Mifos X version: Develop
  • Browser used: Firefox
  • OS: Windows 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant