Skip to content

Commit

Permalink
Change words and timer.
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarhane committed Mar 12, 2019
1 parent 2a4504e commit 166d79c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions src/browser/modules/Stream/CypherFrame/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,14 @@ export class CypherFrame extends Component {
getCancelingView = () => {
return (
<InfoView
title='Terminating query'
description='The query that was running in this frame is being terminated due to the frame being closed.'
title='Terminating query and closing frame'
description={
<div>
The query that was running in this frame is being terminated.
<br />
This frame will self close soon.
</div>
}
/>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/browser/modules/Stream/FrameTitlebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const mapDispatchToProps = (dispatch, ownProps) => {
onCloseClick: async (id, requestId, request) => {
if (request && request.status === REQUEST_STATUS_PENDING) {
dispatch(cancelRequest(requestId))
await sleep(2500) // sleep for 2500 ms to let user read the cancel info
await sleep(3000) // sleep for 3000 ms to let user read the cancel info
}
dispatch(remove(id))
},
Expand Down

0 comments on commit 166d79c

Please sign in to comment.