This commit is contained in:
2026-10-19 00:48:46 +07:00
parent 0f948b316a
commit 5635b8b5b1
13 changed files with 252 additions and 11 deletions
+3
View File
@@ -331,6 +331,9 @@ const gameOptions = computed(() => {
>
</div>
</template>
<n-alert v-if="state.materialsWarning" type="warning" role="status" data-testid="materials-warning">
{{ state.materialsWarning }}
</n-alert>
<p v-if="state.preparation.active" role="status" data-testid="materials-progress">
Материалы: {{ state.preparation.completed }}/{{ state.preparation.total }} ·
{{ (state.preparation.downloadedBytes / 1048576).toFixed(1) }} МиБ
+1
View File
@@ -12,6 +12,7 @@ export function useOnlineConnection() {
server: DEFAULT_SERVER,
currentGameId: null,
materials: [],
materialsWarning: '',
authenticated: false,
remembered: false,
busy: false,
+1
View File
@@ -41,6 +41,7 @@ export interface OnlineState {
server: string
currentGameId: number | null
materials: GameMaterial[]
materialsWarning: string
authenticated: boolean
remembered: boolean
busy: boolean