Skip to content

Commit

Permalink
change label & timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Apr 8, 2019
1 parent bb9f3b6 commit d58f293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/files/fileManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ class FileManager extends ApiFactory {
this.switchFile(newPath)
e.target.innerHTML = 'Saved'
warnToaster.hide()
}}>Save As Another</button>
}}>Save As Copy</button>
</div>`
warnToaster = await toaster(yo`<div><span class="text-primary">${this.currentRequest.from}</span> is modyfing to <span class="text-primary">${path}</span></div>`, actions, { time: 4000 })
warnToaster = await toaster(yo`<div><span class="text-primary">${this.currentRequest.from}</span> is modyfing <span class="text-primary">${path}</span></div>`, actions, { time: 6000 })
if (reject) throw new Error(`set file operation on ${path} aborted by user.`)
if (savedAsAnotherFile) return
}
Expand Down

0 comments on commit d58f293

Please sign in to comment.