Skip to content

Commit

Permalink
Issue #ED-4307 merge: :Merge pull request #3622 from Ajoymaity/relea…
Browse files Browse the repository at this point in the history
…se-7.0.0

Issue #ED-4307 fix: Fixed title issue in admin home page
  • Loading branch information
swayangjit authored May 22, 2024
2 parents a0bb4cb + 43eb575 commit ecd9075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/content/content-aggregator-handler.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export class ContentAggregatorHandler {
if (!rootOrgId) {
rootOrgId = await this.preferences.getString('defaultRootOrgId').toPromise();
}
frameworkId = frameworkId ? frameworkId : (this.appGlobalService.getCachedFrameworkCategory().id
|| this.appGlobalService.getCurrentUser().syllabus[0]);
frameworkId = frameworkId ? frameworkId : (this.appGlobalService.getCachedFrameworkCategory()?.id
|| this.appGlobalService.getCurrentUser()?.syllabus[0]);
let formRequest = {...FormConstants.CONTENT_AGGREGATOR, subType: pageName, framework: frameworkId || '*', rootOrgId: rootOrgId || '*'}
return this.contentService.buildContentAggregator(this.formService, this.courseService, this.profileService)
.aggregate(request, dataSrc, formRequest, undefined, true).toPromise();
Expand Down

0 comments on commit ecd9075

Please sign in to comment.