From fbadfec7939ae65f6815ea9e684a4dbdafd29e64 Mon Sep 17 00:00:00 2001 From: mattk70 Date: Fri, 15 Mar 2024 23:19:33 +0000 Subject: [PATCH] more detailed toast essage for when custom list species not found in current model list --- js/listWorker.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/js/listWorker.js b/js/listWorker.js index f2934a6f..374e28d8 100644 --- a/js/listWorker.js +++ b/js/listWorker.js @@ -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 ${this.model} list. + Tips: +
    +
  1. Is your list for the ${this.model} model? If not, change the model in settings
  2. +
  3. Check for a typo in your species name
  4. +
+ `); } } }