Skip to content

Commit

Permalink
Merge pull request #301 from EyeSeeTea/development
Browse files Browse the repository at this point in the history
Release 1.6.19
  • Loading branch information
ifoche authored Oct 9, 2024
2 parents 0988c82 + 413770a commit 7d5bbd9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "glass",
"description": "DHIS2 Glass App",
"version": "1.6.18",
"version": "1.6.19",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ export class CustomValidationForEventProgram {
countryName: string,
checkClinics: boolean
): FutureData<ConsistencyError[]> {
const clinicsInEvents = events.map(e => e.orgUnit);
const clinicsInEvents = _(events.map(e => e.orgUnit))
.uniq()
.value();
return Future.joinObj({
clinicsInCountry: checkClinics
? this.metadataRepository.getClinicsAndLabsInOrgUnitId(countryId)
Expand Down
2 changes: 1 addition & 1 deletion src/webapp/pages/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const App: React.FC<AppProps> = React.memo(function App({ api, d2, instan

setAppContext({ api, currentUser, compositionRoot, instance: instance, allCountries: allCountries ?? [] });
// setShowShareButton(isShareButtonVisible);
initFeedbackTool(d2, appConfig);
if (process.env.NODE_ENV !== "production") initFeedbackTool(d2, appConfig);
setLoading(false);
}
setup();
Expand Down

0 comments on commit 7d5bbd9

Please sign in to comment.