fix: update appearing when sending the same code (#2742)
Fixed bug where the update node appeared after sending the same code as before
This commit is contained in:
parent
c989c315c5
commit
b9ef29ecd2
1 changed files with 1 additions and 1 deletions
|
|
@ -84,6 +84,6 @@ def update_frontend_node_with_template_values(frontend_node, raw_frontend_node):
|
|||
|
||||
old_code = raw_frontend_node["template"]["code"]["value"]
|
||||
new_code = frontend_node["template"]["code"]["value"]
|
||||
frontend_node["edited"] = old_code != new_code
|
||||
frontend_node["edited"] = raw_frontend_node["edited"] or (old_code != new_code)
|
||||
|
||||
return frontend_node
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue