mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
Sort sub labels to ensure consistent list
This commit is contained in:
parent
7323ccaf57
commit
ec55714ed9
@ -333,6 +333,7 @@ def get_sub_labels():
|
||||
if not (part.strip()) in sub_labels:
|
||||
sub_labels.append(part.strip())
|
||||
|
||||
sub_labels.sort()
|
||||
return jsonify(sub_labels)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user