diff --git a/src/App.tsx b/src/App.tsx index 41e0f3e..fa4793d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -282,7 +282,11 @@ class App extends React.PureComponent { } private autoRefresh() { - if (navigator.onLine && this.props.credentials) { this.refresh() } + if (navigator.onLine && this.props.credentials && + !(window.location.pathname.match(/.*\/(new|edit|copy)$/))) { + this.refresh(); + } + } componentDidMount() {