lib/eco/api/usecases/default_cases/update_case.rb in eco-helpers-1.3.6 vs lib/eco/api/usecases/default_cases/update_case.rb in eco-helpers-1.3.7
- old
+ new
@@ -53,10 +53,10 @@
)
end
person.account.permissions_custom = session.new_preset(person) unless options.dig(:exclude, :abilities)
- unless options.dig(:exclude, :filter_tags)
+ unless options.dig(:exclude, :filter_tags) || entry.default_tag?
if session.tagtree
person.account.default_tag = session.tagtree.default_tag(*person.filter_tags)
else
tags = person.filter_tags
person.account.default_tag = tags.first unless tags.length > 1