fix(Comment): logic for update notification
This commit is contained in:
parent
61b6e566cb
commit
17ae73acad
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ class Comment(Document):
|
|||
|
||||
def on_update(self):
|
||||
update_comment_in_doc(self)
|
||||
if self.is_new():
|
||||
if not self.is_new():
|
||||
self.notify_change("update")
|
||||
|
||||
def on_trash(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue