mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Improve video upload error handling
This commit is contained in:
parent
fe05c3acbd
commit
7373507fa8
14 changed files with 82 additions and 18 deletions
|
@ -124,6 +124,10 @@ function sortBy (obj: any[], key1: string, key2?: string) {
|
|||
})
|
||||
}
|
||||
|
||||
function scrollToTop () {
|
||||
window.scroll(0, 0)
|
||||
}
|
||||
|
||||
export {
|
||||
sortBy,
|
||||
durationToString,
|
||||
|
@ -135,5 +139,6 @@ export {
|
|||
immutableAssign,
|
||||
objectToFormData,
|
||||
lineFeedToHtml,
|
||||
removeElementFromArray
|
||||
removeElementFromArray,
|
||||
scrollToTop
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue