Fix bug when showing cache files for services in the UI

This commit is contained in:
Théophile Diot 2023-04-17 10:57:53 +02:00
parent 3fac889ff2
commit 5eb884fe9a
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ def path_to_dict(
if conf["service_id"]:
d["children"][
[x["file_name"] for x in d["children"]].index(conf["service_id"])
[x["name"] for x in d["children"]].index(conf["service_id"])
]["children"].append(file_info)
else:
d["children"].append(file_info)