diff --git a/src/components/Modal.vue b/src/components/Modal.vue
index 24482cf24..2e7c466e0 100644
--- a/src/components/Modal.vue
+++ b/src/components/Modal.vue
@@ -24,6 +24,10 @@ import { Component, Prop, Watch } from 'vue-property-decorator';
@Component
export default class Modal extends Vue {
+ /*
+ Prefer using the ModalCard component for future modals as it uses
+ the correct bulma classes for modal cards, which this one does not!
+ */
@Prop({default: false, type: Boolean})
open!: boolean;
diff --git a/src/components/ModalCard.vue b/src/components/ModalCard.vue
new file mode 100644
index 000000000..283bfafd8
--- /dev/null
+++ b/src/components/ModalCard.vue
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
diff --git a/src/components/all.ts b/src/components/all.ts
index c11ed31fc..1239d6752 100644
--- a/src/components/all.ts
+++ b/src/components/all.ts
@@ -2,6 +2,7 @@ import Hero from './Hero.vue';
import Progress from './Progress.vue';
import ExpandableCard from './ExpandableCard.vue';
import Modal from './Modal.vue';
+import ModalCard from './ModalCard.vue';
import Link from './Link.vue';
export {
@@ -9,5 +10,6 @@ export {
Progress,
Link,
ExpandableCard,
- Modal
+ Modal,
+ ModalCard,
}
diff --git a/src/components/views/LocalModList.vue b/src/components/views/LocalModList.vue
index d0ea3f7b1..5b5bc0922 100644
--- a/src/components/views/LocalModList.vue
+++ b/src/components/views/LocalModList.vue
@@ -418,9 +418,10 @@ import UninstallModModal from './LocalModList/UninstallModModal.vue';
const err: Error = e as Error;
this.$emit("error", err);
LoggerProvider.instance.Log(LogSeverity.ACTION_STOPPED, `${err.name}\n-> ${err.message}`);
+ } finally {
+ this.selectedManifestMod = null;
+ this.modBeingDisabled = null;
}
- this.selectedManifestMod = null;
- this.modBeingDisabled = null;
}
async performDisable(mods: ManifestV2[]): Promise {
diff --git a/src/components/views/LocalModList/AssociatedModsModal.vue b/src/components/views/LocalModList/AssociatedModsModal.vue
index e5fbee4f1..8cea6c657 100644
--- a/src/components/views/LocalModList/AssociatedModsModal.vue
+++ b/src/components/views/LocalModList/AssociatedModsModal.vue
@@ -1,10 +1,10 @@
-
-
+
+
@@ -54,7 +54,7 @@ export default class AssociatedModsModal extends Vue {
Done
-
+