Skip to content

Commit

Permalink
compare status identity
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Lefévère-Laoide authored and Fred Lefévère-Laoide committed Dec 12, 2024
1 parent d6ff6de commit 3724a81
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions taipy/gui_core/_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,7 @@ def submission_status_callback(self, submission_id: t.Optional[str] = None, even
)
payload.update(tasks=running_tasks)

if (
last_client_status.submission_status is None
or last_client_status.submission_status.value < new_status.value
):
if last_client_status.submission_status is not new_status:
# callback
submission_name = submission.properties.get("on_submission")
if submission_name:
Expand Down

0 comments on commit 3724a81

Please sign in to comment.