Skip to content

Commit

Permalink
Merge pull request #358 from nextcloud/fix/disable-cancel
Browse files Browse the repository at this point in the history
Pytal authored Feb 17, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents d577d43 + 4684a2a commit 0adf454
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions js/user_migration-personal-settings.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/user_migration-personal-settings.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/ExportSection.vue
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@
</NcButton>
<NcButton type="tertiary"
:aria-label="t('user_migration', 'Cancel export')"
:disabled="status.status !== 'waiting'"
:disabled="status.status !== 'waiting' || cancellingExport"
@click.stop.prevent="cancelExport">
{{ t('user_migration', 'Cancel') }}
</NcButton>
2 changes: 1 addition & 1 deletion src/components/ImportSection.vue
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@
</NcButton>
<NcButton type="tertiary"
:aria-label="t('user_migration', 'Cancel import')"
:disabled="status.status !== 'waiting'"
:disabled="status.status !== 'waiting' || cancellingImport"
@click.stop.prevent="cancelImport">
{{ t('user_migration', 'Cancel') }}
</NcButton>

0 comments on commit 0adf454

Please sign in to comment.