Skip to content

Commit

Permalink
Merge pull request #128 from openimis/feature/OM-131
Browse files Browse the repository at this point in the history
OM-131: change isWorker source
  • Loading branch information
malinowskikam authored Mar 1, 2024
2 parents a3d6bfd + e80a07a commit 9a48db1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/InsureeFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const INSUREE_FILTER_CONTRIBUTION_KEY = "insuree.Filter";
class InsureeFilter extends Component {
constructor(props) {
super(props);
this.isWorker = props.modulesManager.getConf("fe-insuree", "isWorker", DEFAULT.IS_WORKER);
this.isWorker = props.modulesManager.getConf("fe-core", "isWorker", DEFAULT.IS_WORKER);
this.renderLastNameFirst = props.modulesManager.getConf("fe-insuree", "renderLastNameFirst", DEFAULT.RENDER_LAST_NAME_FIRST);
}
debouncedOnChangeFilter = _debounce(
Expand Down
2 changes: 1 addition & 1 deletion src/components/InsureeForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class InsureeForm extends Component {
newInsuree: true,
isSaved: false,
};
this.isWorker = props.modulesManager.getConf("fe-insuree", "isWorker", DEFAULT.IS_WORKER);
this.isWorker = props.modulesManager.getConf("fe-core", "isWorker", DEFAULT.IS_WORKER);
}

_newInsuree() {
Expand Down
2 changes: 1 addition & 1 deletion src/components/InsureeSearcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class InsureeSearcher extends Component {
);
this.defaultPageSize = props.modulesManager.getConf("fe-insuree", "insureeFilter.defaultPageSize", 10);
this.locationLevels = this.props.modulesManager.getConf("fe-location", "location.Location.MaxLevels", 4);
this.isWorker = props.modulesManager.getConf("fe-insuree", "isWorker", DEFAULT.IS_WORKER);
this.isWorker = props.modulesManager.getConf("fe-core", "isWorker", DEFAULT.IS_WORKER);
this.renderLastNameFirst = props.modulesManager.getConf(
"fe-insuree",
"renderLastNameFirst",
Expand Down
2 changes: 1 addition & 1 deletion src/menus/InsureeMainMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const WORKER_MAIN_MENU_CONTRIBUTION_KEY = "worker.MainMenu";
class InsureeMainMenu extends Component {
constructor(props) {
super(props);
this.isWorker = props.modulesManager.getConf("fe-insuree", "isWorker", DEFAULT.IS_WORKER);
this.isWorker = props.modulesManager.getConf("fe-core", "isWorker", DEFAULT.IS_WORKER);
this.genericVoucherEnabled = props.modulesManager.getConf(
"fe-worker_voucher",
"genericVoucherEnabled",
Expand Down

0 comments on commit 9a48db1

Please sign in to comment.