Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 2e7697e

Browse files
committed
Merge pull request #746 from appirio-tech/dev
Fix dashboard forum link
2 parents 39fcae9 + bae0544 commit 2e7697e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/filters/challengeLinks.filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import angular from 'angular'
3838
case 'data':
3939
return String.supplant('https://apps.{domain}/forums/?module=Category&categoryID={forumId}', data)
4040
case 'design':
41-
return String.supplant('https://apps.{domain}/forums/?module=ThreadList&forumId={forumId}', data)
41+
return String.supplant('https://apps.{domain}/forums/?module=ThreadList&forumID={forumId}', data)
4242
}
4343
/*eslint no-fallthrough:0*/
4444
case 'submissions':

app/filters/filters.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe('filters', function() {
8282
subTrack : 'WEB_DESIGN'
8383
}
8484
expect(challengeLinksFilter(_ch, 'detail')).to.be.equal('https://www.'+domain+'/challenge-details/1/?type=design')
85-
expect(challengeLinksFilter(_ch, 'forums')).to.be.equal('https://apps.'+domain+'/forums/?module=ThreadList&forumId=2')
85+
expect(challengeLinksFilter(_ch, 'forums')).to.be.equal('https://apps.'+domain+'/forums/?module=ThreadList&forumID=2')
8686
expect(challengeLinksFilter(_ch, 'registrants')).to.be.equal('https://www.'+domain+'/challenge-details/1/?type=design#viewRegistrant')
8787
expect(challengeLinksFilter(_ch, 'submissions')).to.be.equal('https://www.'+domain+'/challenge-details/1/?type=design#submissions')
8888
})

0 commit comments

Comments
 (0)