Skip to content

Commit 9a011e8

Browse files
committed
INT-1160: Add 1 second timeout on updated footer
1 parent 5d9ef26 commit 9a011e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/internal-packages/crud/lib/component/document.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@ class Document extends React.Component {
187187
*/
188188
handleUpdateSuccess(doc) {
189189
this.doc = doc;
190-
this.setState({ doc: doc, editing: false });
190+
setTimeout(() => {
191+
this.setState({ doc: doc, editing: false });
192+
}, 1000);
191193
}
192194

193195
/**

0 commit comments

Comments
 (0)