Skip to content

Commit

Permalink
more detailed toast essage for when custom list species not found in …
Browse files Browse the repository at this point in the history
…current model list
  • Loading branch information
Mattk70 committed Mar 15, 2024
1 parent abe1be1 commit fbadfec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion js/listWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,13 @@ class Model {
includedIDs.push(...selectedIndexes);
}
} else {
sname === 'Unknown Sp.' || messages.push(`Cannot find '${sname}' (at line ${line} of the custom list) in the ${this.model} list`);
sname === 'Unknown Sp.' || messages.push(`Cannot find '${sname}' (at line ${line} of the custom list) in the <strong>${this.model}</strong> list.
<strong>Tips:</strong>
<ol>
<li>Is your list for the <strong>${this.model}</strong> model? If not, change the model in settings</li>
<li>Check for a typo in your species name</li>
</ol>
`);
}
}
}
Expand Down

0 comments on commit fbadfec

Please sign in to comment.