Browse Source

workshop download fix / reports fix

master
gsd 1 week ago
parent
commit
979c149749
  1. 1
      src/app/entities/servers/Server.ts
  2. 6
      src/app/pages/reports-page/ReportSearchTable.ts
  3. 2
      src/app/pages/servers-page/servers-page.component.html

1
src/app/entities/servers/Server.ts

@ -20,4 +20,5 @@ export interface Server {
uniq: Uniq;
workshop: string|null;
ip:string;
workshopId:number|null;
}

6
src/app/pages/reports-page/ReportSearchTable.ts

@ -30,9 +30,9 @@ import {AuthDialogRequest} from "../internal-components/dialogs/AuthDialogReques
</mat-menu>
<mat-chip *ngIf="filter.updated" (click)="updateData()">Обновить</mat-chip>
<app-filter-mat-chip-killfeed
[filter]="filter">
</app-filter-mat-chip-killfeed>
<app-filter-mat-chip-account
[filter]="filter">
</app-filter-mat-chip-account>
<app-filter-mat-chip-date-begin
[filter]="filter">
</app-filter-mat-chip-date-begin>

2
src/app/pages/servers-page/servers-page.component.html

@ -68,7 +68,7 @@
<mat-card-title>Адрес сервера</mat-card-title>
<mat-card-subtitle>{{server.value.ip}}</mat-card-subtitle>
</mat-card>
<mat-card *ngIf="server.value.workshop != ''" class="clickable" (click)="actionService.goToUrlViaTab(server.value.workshop)">
<mat-card *ngIf="server.value.workshopId != null" class="clickable" (click)="actionService.goToUrlViaTab('https://steamcommunity.com/sharedfiles/filedetails/?id='+server.value.workshopId)">
<mat-card-title>Скачать карту</mat-card-title>
<mat-card-subtitle>из воркшопа</mat-card-subtitle>
</mat-card>

Loading…
Cancel
Save