AI submenu now has all at top

This commit is contained in:
2021-09-22 19:19:21 +10:00
parent db13197f4a
commit a1f8afa781
2 changed files with 1 additions and 3 deletions

2
TODO
View File

@@ -1,6 +1,4 @@
## GENERAL ## GENERAL
* ai search, should put 'all' at top of drop-down
* when there is an actual error sent from B/E to F/E, you can't clear it other than deleting via sql * when there is an actual error sent from B/E to F/E, you can't clear it other than deleting via sql
* add an option on the person menu to run_ai_on all photos (or at least import/storage) * add an option on the person menu to run_ai_on all photos (or at least import/storage)

View File

@@ -307,10 +307,10 @@ $.contextMenu({
item_list['ai'] = { item_list['ai'] = {
name: "Scan file for faces", name: "Scan file for faces",
items: { items: {
"ai-all": {"name": "all"},
{% for p in people %} {% for p in people %}
"ai-{{p.tag}}": {"name": "{{p.tag}}"}, "ai-{{p.tag}}": {"name": "{{p.tag}}"},
{% endfor %} {% endfor %}
"ai-all": {"name": "all"},
} }
} }