forked from WycliffeAssociates/en_btr_frontend
Fix some malformed property names
This commit is contained in:
parent
2b029b8116
commit
59e7598e7d
|
@ -1,4 +1,4 @@
|
|||
<tr data-strongs={{@model.strongs_number}} class="{{this.selected}}" ...attributes>
|
||||
<tr data-strongs={{@model.strongsNumber}} class="{{this.selected}}" ...attributes>
|
||||
<td>{{@model.greek}}</td>
|
||||
<td>{{@model.ulb}}</td>
|
||||
<td>{{@model.morph}}</td>
|
||||
|
|
|
@ -2,8 +2,8 @@ import Model, { attr, hasMany, belongsTo } from '@ember-data/model';
|
|||
|
||||
export default class VerseModel extends Model {
|
||||
@attr name;
|
||||
@attr greek_text;
|
||||
@attr ulb_text;
|
||||
@attr greekText;
|
||||
@attr ulbText;
|
||||
@attr reference;
|
||||
|
||||
@belongsTo('chapter') chapter;
|
||||
|
|
|
@ -5,8 +5,10 @@ export default class WordModel extends Model {
|
|||
@attr greek;
|
||||
@attr lemma;
|
||||
@attr morph;
|
||||
@attr ognt_sort;
|
||||
@attr strongs_number;
|
||||
@attr ogntSort;
|
||||
@attr strongsNumber;
|
||||
|
||||
@belongsTo('verse') verse;
|
||||
|
||||
@belongsTo('lexical-entry') lexicalEntry;
|
||||
}
|
||||
|
|
|
@ -13,10 +13,10 @@ export default class WordSelectService extends Service {
|
|||
}
|
||||
|
||||
isCurrentByOgntId(word) {
|
||||
return word.ognt_sort == this.currentWord.ognt_sort;
|
||||
return word.ogntSort == this.currentWord.ogntSort;
|
||||
}
|
||||
|
||||
isCurrentByStrongsNumber(word) {
|
||||
return word.strongs_number == this.currentWord.strongs_number
|
||||
return word.strongsNumber == this.currentWord.strongsNumber
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<h4>Greek</h4>
|
||||
<p><Words::GreekText @model={{model.words}} /></p>
|
||||
<h4>ULB</h4>
|
||||
<p>{{model.ulb_text}}</p>
|
||||
<p>{{model.ulbText}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
|
Loading…
Reference in New Issue