diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-02-06 12:29:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-06 12:29:20 +0100 |
commit | a7e28562bb64e800f30b4f82a942ece2284b4121 (patch) | |
tree | 1e4e8448f08d40d4f9ca7e1dae99bd0019c6e088 /src-vue | |
parent | 478536e663553391726db2460db40ee5f58f8325 (diff) | |
download | FlightCore-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')
-rw-r--r-- | src-vue/src/assets/thunderstore-icon.png | bin | 0 -> 7091 bytes | |||
-rw-r--r-- | src-vue/src/views/mods/LocalModsView.vue | 6 |
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 Binary files differnew file mode 100644 index 00000000..c286ab11 --- /dev/null +++ b/src-vue/src/assets/thunderstore-icon.png 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> |