Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aaradhya-egov committed Sep 16, 2024
1 parent 3a6cf15 commit f7a57fc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { LocalizationService } from "./Localization/service";

const ADMIN_CODE = ({ tenantId, hierarchyType }) => {
if(Digit.Utils.getMultiRootTenant()){
return hierarchyType.code;
}else{
return tenantId.replace(".", "_").toUpperCase() + "_" + hierarchyType.code;
}
};

const getI18nKeys = (localitiesWithLocalizationKeys) => {
Expand Down

0 comments on commit f7a57fc

Please sign in to comment.