diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-02-07 23:39:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 23:39:59 +0100 |
commit | 83b6b454bf88cb80aea478f8b46f95bec4d9ea00 (patch) | |
tree | aec6bae7c7cbb7726499501cf6b89aae26bfe5b7 /src-vue | |
parent | 28b1b6b9fbf1f50ff1241643ed6da09e043eb3e5 (diff) | |
download | FlightCore-83b6b454bf88cb80aea478f8b46f95bec4d9ea00.tar.gz FlightCore-83b6b454bf88cb80aea478f8b46f95bec4d9ea00.zip |
feat: Show mod version in LocalMods View (#159)
* refactor: Parse using serde deserialisation
* refactor: Parse using serde deserial. (TS mod str)
Reduce code by making use of serde deserialisation.
Still supports legacy method
* chore: Remove commented out fields
While useful, it just made the code messy...
* feat: Show mod version in LocalMods view
* refactor: Move mod version to new line
in source code
Makes diffing in git easier
* fix: Hide version number if not available
Diffstat (limited to 'src-vue')
-rw-r--r-- | src-vue/src/views/mods/LocalModsView.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src-vue/src/views/mods/LocalModsView.vue b/src-vue/src/views/mods/LocalModsView.vue index 59b51936..ed801b7a 100644 --- a/src-vue/src/views/mods/LocalModsView.vue +++ b/src-vue/src/views/mods/LocalModsView.vue @@ -14,6 +14,7 @@ </template> </el-popconfirm> {{ mod.name }} + <span v-if="mod.version != null">(v{{ mod.version }})</span> <img v-if="mod.thunderstore_mod_string != null" title="This Northstar mod is part of a Thunderstore mod" |