Skip to content

Commit

Permalink
Merge pull request #10 from simoneanam/2.1
Browse files Browse the repository at this point in the history
[FIX] SELECT dataSouce 'custom' - custom_components.py
  • Loading branch information
archetipo authored Oct 8, 2024
2 parents 795da71 + 54c7e5f commit 8e3b8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web-client/core/main/custom_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def __init__(self, raw, builder, **kwargs):
"<span>{{ item.label }}</span>"
)
if self.dataSrc == "custom" and not self.idPath:
self.idPath = "rec_name"
self.idPath = "id"
if self.raw.get("data") and self.raw.get("data").get("resource"):
self.resource_id = self.raw.get("data") and self.raw.get(
"data"
Expand Down

0 comments on commit 8e3b8a4

Please sign in to comment.