Skip to content

Commit

Permalink
fix: check correct attribute (LAN-801)
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Jan 30, 2024
1 parent 4d2e93e commit 0a34208
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def rebuild_cache_on_attachment(doc, method):
# Water Body has been deleted, cache rebuild is handled by water body
return

if not water_body_data.is_active or not water_body_data.display:
if not water_body_data.is_active or not water_body_data.display_in_fishing_guide:
return

if method == "after_delete":
Expand Down

0 comments on commit 0a34208

Please sign in to comment.