diff --git a/src/components/views/DownloadModModal.vue b/src/components/views/DownloadModModal.vue index 13cc32fdd..c3f638723 100644 --- a/src/components/views/DownloadModModal.vue +++ b/src/components/views/DownloadModModal.vue @@ -77,7 +77,7 @@ @@ -223,7 +223,7 @@ let assignId = 0; async getModVersions() { this.currentVersion = null; if (this.thunderstoreMod !== null) { - this.selectedVersion = this.thunderstoreMod.getLatestVersion().getVersionNumber().toString(); + this.selectedVersion = this.thunderstoreMod.getLatestVersion(); this.recommendedVersion = null; this.versionNumbers = await PackageDb.getPackageVersionNumbers( diff --git a/src/components/views/OnlineModList.vue b/src/components/views/OnlineModList.vue index 68cdb1c12..d978ba7f2 100644 --- a/src/components/views/OnlineModList.vue +++ b/src/components/views/OnlineModList.vue @@ -4,7 +4,7 @@ v-for='(key, index) in pagedModList' :key="`online-${key.getFullName()}-${index}-${settings.getContext().global.expandedCards}`" :image="getImageUrl(key)" :id="index" - :description="key.getLatestVersion().getDescription()"> + :description="key.getDescription()">