Skip to content

Commit 1a46100

Browse files
committed
# Conflicts: # src/Server/Coderr.Server.Web/ViewModels/Incident/Components/IncidentTable.js.map
2 parents ae8247b + ced60e7 commit 1a46100

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/Server/Coderr.Server.Web/ViewModels/Incident/Components/IncidentTable.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Server/Coderr.Server.Web/ViewModels/Incident/Components/IncidentTable.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class IncidentTableViewModel implements Griffin.WebApp.IPagerSubscriber {
2828
query.IsNew = true;
2929
if (applicationId != null) {
3030
query.ApplicationId = applicationId;
31+
this.applicationId = applicationId;
3132
}
3233
if (applicationVersion != null) {
3334
query.Version = applicationVersion;
@@ -190,6 +191,11 @@ class IncidentTableViewModel implements Griffin.WebApp.IPagerSubscriber {
190191

191192
private loadItems(pageNumber: number = 0): void {
192193
const query = new codeRR.Core.Incidents.Queries.FindIncidents();
194+
195+
if (this.applicationId != null) {
196+
query.ApplicationId = this.applicationId;
197+
}
198+
193199
query.SortType = this.sortType;
194200
query.SortAscending = this.sortAscending;
195201
if (this.incidentType === "closed") {

0 commit comments

Comments
 (0)