fix: exclude irrelevant regional links (#25510)
This commit is contained in:
parent
0a81407304
commit
56f1ed4fb3
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ class Workspace(Document):
|
|||
|
||||
current_card = link
|
||||
card_links = []
|
||||
else:
|
||||
elif not link.get("only_for") or link.get("only_for") == frappe.get_system_settings("country"):
|
||||
card_links.append(link)
|
||||
|
||||
current_card["links"] = card_links
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue