Prevent click on empty greek and morph in rows
This commit is contained in:
parent
d52b36eb0a
commit
0454190480
|
@ -9,6 +9,9 @@ export default class WordsWordRowComponent extends Component {
|
||||||
|
|
||||||
@action
|
@action
|
||||||
select(word) {
|
select(word) {
|
||||||
|
if (word.strongsNumber == -1 || word.strongsNumber == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.selectWord.select(word);
|
this.selectWord.select(word);
|
||||||
this.router.transitionTo('verse.word', word.strongsNumber);
|
this.router.transitionTo('verse.word', word.strongsNumber);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue