Skip to content

Commit

Permalink
'mesh term' is no longer an object object when 'term' is selected as …
Browse files Browse the repository at this point in the history
…subject
  • Loading branch information
michaelchadwick committed Jan 24, 2025
1 parent 094be1f commit 7b1e3ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/app/components/reports/new-subject.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default class ReportsNewSubjectComponent extends Component {
{
value: 'mesh term',
label: this.intl.t('general.meshTerm'),
subjects: ['course', 'session', 'learning material', 'session type', 'term'],
subjects: ['course', 'session', 'learning material', 'session type'],
},
{
value: 'session type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,13 @@ module('Integration | Component | reports/new-subject', function (hooks) {
});

test('choosing term selects correct objects', function (assert) {
assert.expect(11);
assert.expect(10);
return checkObjects(this, assert, 9, 'term', [
'academic year',
'competency',
'course',
'instructor',
'learning material',
'mesh term',
'program',
'program year',
'session',
Expand Down

0 comments on commit 7b1e3ee

Please sign in to comment.