Skip to content

Commit

Permalink
Disable uninstall button while mods are being uninstalled
Browse files Browse the repository at this point in the history
  • Loading branch information
anttimaki committed Jan 11, 2024
1 parent 4020602 commit 0a5b1eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/views/LocalModList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@
@click="disableMod(selectedManifestMod)">
Disable
</button>
<button v-if="dependencyListDisplayType === 'uninstall'" class="button is-info"
<button v-if="dependencyListDisplayType === 'uninstall'"
class="button is-info"
:disabled="modBeingUninstalled !== null"
@click="uninstallMod(selectedManifestMod)">
Uninstall
</button>
Expand Down

0 comments on commit 0a5b1eb

Please sign in to comment.