diff --git a/src/components/profiles-modals/ImportProfileModal.vue b/src/components/profiles-modals/ImportProfileModal.vue index edcfedb9..2b6042a5 100644 --- a/src/components/profiles-modals/ImportProfileModal.vue +++ b/src/components/profiles-modals/ImportProfileModal.vue @@ -10,6 +10,7 @@ import ThunderstoreMod from "../../model/ThunderstoreMod"; import ThunderstoreDownloaderProvider from "../../providers/ror2/downloading/ThunderstoreDownloaderProvider"; import InteractionProvider from "../../providers/ror2/system/InteractionProvider"; import { ProfileImportExport } from "../../r2mm/mods/ProfileImportExport"; +import { valueToReadableDate } from "../../utils/DateUtils"; import * as ProfileUtils from "../../utils/ProfileUtils"; import { ModalCard } from "../all"; import ProfilesMixin from "../mixins/ProfilesMixin.vue"; @@ -20,6 +21,7 @@ import OnlineModList from "../views/OnlineModList.vue"; components: { OnlineModList, ModalCard} }) export default class ImportProfileModal extends mixins(ProfilesMixin) { + valueToReadableDate = valueToReadableDate; private importUpdateSelection: 'CREATE' | 'UPDATE' = 'CREATE'; private importPhaseDescription: string = 'Downloading mods: 0%'; private importViaCodeInProgress: boolean = false; @@ -321,6 +323,29 @@ export default class ImportProfileModal extends mixins(ProfilesMixin) {

Ensure the profile is intended for the currently selected game.

+ +

+ Updating the mod list from Thunderstore might solve this issue. + + + The mod list was last updated on {{ valueToReadableDate($store.state.tsMods.modsLastUpdated) }}. + + +
+ + + {{ $store.state.tsMods.thunderstoreModListUpdateStatus }} + + + Error updating the mod list: + {{ $store.state.tsMods.thunderstoreModListUpdateError }}. + Retry? + + + Would you like to + update now? + +