Skip to content

Commit

Permalink
fix(add-ons): correct change type for add-on reconfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed May 6, 2024
1 parent 1e56ded commit c07a08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weblate/addons/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def save(
if update_fields != ["state"]:
self.store_change(
Change.ACTION_ADDON_CREATE
if self.pk or force_insert
if not self.pk or force_insert
else Change.ACTION_ADDON_CHANGE
)

Expand Down

0 comments on commit c07a08f

Please sign in to comment.