File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,13 @@ export default class SplashMixin extends Vue {
49
49
this .getRequestItem (' ExclusionsList' ).setProgress (100 );
50
50
}
51
51
52
- // Get the list of Thunderstore mods from API or local cache .
52
+ // Wrapper to allow TSMM to inject telemetry gathering .
53
53
async getThunderstoreMods() {
54
+ await this ._getThunderstoreMods ();
55
+ }
56
+
57
+ // Get the list of Thunderstore mods from API or local cache.
58
+ async _getThunderstoreMods() {
54
59
const packageListIndex = await this .fetchPackageListIndex ();
55
60
const packageListChunks = await this .fetchPackageListChunksIfUpdated (packageListIndex );
56
61
this .getRequestItem (' ThunderstoreDownload' ).setProgress (100 );
Original file line number Diff line number Diff line change @@ -15,7 +15,12 @@ export default class UtilityMixin extends Vue {
15
15
setInterval (this .tryRefreshThunderstoreModList , this .REFRESH_INTERVAL );
16
16
}
17
17
18
+ // Wrapper to allow TSMM to inject telemetry gathering.
18
19
async refreshThunderstoreModList() {
20
+ await this ._refreshThunderstoreModList ();
21
+ }
22
+
23
+ async _refreshThunderstoreModList() {
19
24
const packageListIndex: PackageListIndex = await this .$store .dispatch (" tsMods/fetchPackageListIndex" );
20
25
21
26
if (packageListIndex .isLatest ) {
You can’t perform that action at this time.
0 commit comments