aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-02-06 12:29:20 +0100
committerGitHub <noreply@github.com>2023-02-06 12:29:20 +0100
commita7e28562bb64e800f30b4f82a942ece2284b4121 (patch)
tree1e4e8448f08d40d4f9ca7e1dae99bd0019c6e088 /src-vue/src
parent478536e663553391726db2460db40ee5f58f8325 (diff)
downloadFlightCore-a7e28562bb64e800f30b4f82a942ece2284b4121.tar.gz
FlightCore-a7e28562bb64e800f30b4f82a942ece2284b4121.zip
feat: Show TS icon for TS mods (#160)
In LocalModsView, show the Thunderstore icon for Northstar mods that have been installed from a Thunderstore mod.
Diffstat (limited to 'src-vue/src')
-rw-r--r--src-vue/src/assets/thunderstore-icon.pngbin0 -> 7091 bytes
-rw-r--r--src-vue/src/views/mods/LocalModsView.vue6
2 files changed, 6 insertions, 0 deletions
diff --git a/src-vue/src/assets/thunderstore-icon.png b/src-vue/src/assets/thunderstore-icon.png
new file mode 100644
index 00000000..c286ab11
--- /dev/null
+++ b/src-vue/src/assets/thunderstore-icon.png
Binary files differ
diff --git a/src-vue/src/views/mods/LocalModsView.vue b/src-vue/src/views/mods/LocalModsView.vue
index 6e2d4be0..4541b9c8 100644
--- a/src-vue/src/views/mods/LocalModsView.vue
+++ b/src-vue/src/views/mods/LocalModsView.vue
@@ -14,6 +14,12 @@
</template>
</el-popconfirm>
{{ mod.name }}
+ <img
+ v-if="mod.thunderstore_mod_string != null"
+ src="/src/assets/thunderstore-icon.png"
+ class="image"
+ height="16"
+ />
</el-card>
</div>
</el-scrollbar>