favicon progress bar
Co-authored-by: timvisee <tim@visee.me>
This commit is contained in:
parent
60146541f2
commit
0460bd2e97
3 changed files with 55 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
const html = require('choo/html');
|
||||
const raw = require('choo/html/raw');
|
||||
const assets = require('../../common/assets');
|
||||
const faviconProgressBar = require('./faviconProgressbar');
|
||||
const {
|
||||
bytes,
|
||||
copyToClipboard,
|
||||
|
@ -397,6 +398,7 @@ module.exports.uploading = function(state, emit) {
|
|||
const progress = state.transfer.progressRatio;
|
||||
const progressPercent = percent(progress);
|
||||
const archive = state.archive;
|
||||
faviconProgressBar.updateFavicon(progressPercent);
|
||||
return html`
|
||||
<send-upload-area
|
||||
id="${archive.id}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue