Prevent click on empty greek and morph in rows

This commit is contained in:
Leonard Smith 2021-05-06 13:09:24 -05:00
parent d52b36eb0a
commit 0454190480
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ export default class WordsWordRowComponent extends Component {
@action
select(word) {
if (word.strongsNumber == -1 || word.strongsNumber == null) {
return;
}
this.selectWord.select(word);
this.router.transitionTo('verse.word', word.strongsNumber);
}