bugfix on condition when creating action from settings (#866)

This commit is contained in:
Ana Liz Lubomirsky
2025-08-06 02:18:42 -03:00
committed by GitHub
parent e1da40b088
commit 5ea912cbc4

View File

@@ -6555,7 +6555,7 @@ def action_type_create(request):
form.save()
form = ActiontypeForm()
messages.success(request, _("Action has been created successfully!"))
if dynamic != "None":
if dynamic != None:
url = reverse("create-actions")
instance = Actiontype.objects.all().order_by("-id").first()
mutable_get = request.GET.copy()