Skip to content

Commit 05c866d

Browse files
authored
disable compress button during compression
1 parent 7085b65 commit 05c866d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function removeItem(file: FileObj) {
8888
<button
8989
:aria-busy="isCompressing"
9090
:class="{ 'is-success': files.length && !anyUncompressed }"
91-
:disabled="!files.length || !anyUncompressed"
91+
:disabled="!files.length || !anyUncompressed || isCompressing"
9292
@click="compressFiles"
9393
>
9494
{{ files.length && !anyUncompressed ? t('translation.allcompressed') : t('translation.compress') }}

0 commit comments

Comments
 (0)