Kaynağa Gözat

Change StatusBar class

This commit changes the class that hides StatusBar after upload finish
Artur Boryś 7 yıl önce
ebeveyn
işleme
5a0ffc3d20
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/plugins/StatusBar/StatusBar.js

+ 1 - 1
src/plugins/StatusBar/StatusBar.js

@@ -110,7 +110,7 @@ module.exports = (props) => {
   } else if (uploadState === STATE_COMPLETE) {
   } else if (uploadState === STATE_COMPLETE) {
     progressBarContent = ProgressBarComplete(props)
     progressBarContent = ProgressBarComplete(props)
     if (props.hideAfterFinish) {
     if (props.hideAfterFinish) {
-      hiddenClass = 'is-hidden'
+      hiddenClass = 'uppy--hidden'
     }
     }
   } else if (uploadState === STATE_UPLOADING) {
   } else if (uploadState === STATE_UPLOADING) {
     progressBarContent = ProgressBarUploading(props)
     progressBarContent = ProgressBarUploading(props)