Themes(trees): refactor some special renderings, mark as not inline, fix #2469

This commit is contained in:
Pieter Vander Vennet 2025-07-28 04:25:28 +02:00
parent 0485c571f1
commit 46d3054cc8
35 changed files with 172 additions and 161 deletions

View file

@ -106,6 +106,10 @@ Another example is to search for species and trees:
if (str === undefined) {
return false
}
if (str.length === 0) {
// Don't show an exclamation mark if empty, the other code will prevent saving
return true
}
if (str.length == 1) {
return false
}