From 9746cdeb47b226087ced574cddaac829b995e79b Mon Sep 17 00:00:00 2001
From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
Date: Tue, 16 May 2023 18:26:00 +0200
Subject: refactor: Move LocalModCard into own Vue component (#359)
* refactor: Move LocalModCard into own Vue component
This is in preparation of overhauling the local mods interface
* style: Fix indentation
* fix: Remove unused property
---
src-vue/src/components/LocalModCard.vue | 101 +++++++++++++++++++++++++++++++
src-vue/src/views/mods/LocalModsView.vue | 76 +----------------------
2 files changed, 104 insertions(+), 73 deletions(-)
create mode 100644 src-vue/src/components/LocalModCard.vue
(limited to 'src-vue')
diff --git a/src-vue/src/components/LocalModCard.vue b/src-vue/src/components/LocalModCard.vue
new file mode 100644
index 00000000..dd3629f8
--- /dev/null
+++ b/src-vue/src/components/LocalModCard.vue
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+ {{ $t('mods.local.delete') }}
+
+
+
+ {{ mod.name }}
+ (v{{ mod.version }})
+
+
+
+
+
+
+
diff --git a/src-vue/src/views/mods/LocalModsView.vue b/src-vue/src/views/mods/LocalModsView.vue
index cbea7a33..38f7a914 100644
--- a/src-vue/src/views/mods/LocalModsView.vue
+++ b/src-vue/src/views/mods/LocalModsView.vue
@@ -5,44 +5,19 @@
-
-
-
-
-
- {{ $t('mods.local.delete') }}
-
-
-
- {{ mod.name }}
- (v{{ mod.version }})
-
-
+