File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
src/Server/Coderr.Server.Web/ClientApp/components/analyze/incidents Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export default class AnalyzeIncidentComponent extends Vue {
15
15
private static readonly selectCollectionTitle : string = "(select collection)" ;
16
16
private team : ApplicationMember [ ] = [ ] ;
17
17
18
+ applicationName = "" ;
18
19
name = "" ;
19
20
incidentId = 0 ;
20
21
incident = new GetIncidentResult ( ) ;
@@ -104,6 +105,11 @@ export default class AnalyzeIncidentComponent extends Vue {
104
105
this . highlights = data ;
105
106
} ) ;
106
107
108
+ AppRoot . Instance . applicationService . get ( incident . ApplicationId )
109
+ . then ( x => {
110
+ this . applicationName = x . name ;
111
+ } ) ;
112
+
107
113
var query = new GetApplicationVersions ( ) ;
108
114
query . ApplicationId = this . incident . ApplicationId ;
109
115
this . apiClient . query < GetApplicationVersionsResult > ( query ) . then ( x => {
Original file line number Diff line number Diff line change 7
7
< div class ="btn-group " role ="group ">
8
8
< a class ="btn btn-primary text-light " v-on:click ="closeIncident "> Close incident</ a >
9
9
< div class ="dropdown " style ="display: inline-block ">
10
- < button type ="button " class ="btn btn-outline-primary dropdown-toggle " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false "> </ button >
10
+ < button type ="button " class ="btn btn-outline-dark dropdown-toggle " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false "> </ button >
11
11
< div class ="dropdown-menu dropdown-menu-right ">
12
12
< span class ="dropdown-item " v-on:click ="reAssign "> < i class ="fa-redo fa text-muted "> </ i > Re-assign</ span >
13
13
<!--<span class="dropdown-item" v-on:click="addToTfs"><i class="fa-code-branch fa text-muted"></i> Add to TFS/VSTS</span>-->
17
17
</ div >
18
18
</ div >
19
19
20
- < h3 > {{incident.Description}} < span class ="lead text-muted "> [{{incident.FullName}}]</ span > </ h3 >
21
-
22
-
20
+ < h3 >
21
+ {{incident.Description}}
22
+ < span class ="lead text-muted "> [{{incident.FullName}}] </ span >
23
+ < span class ="lead text-muted " v-if ="applicationName "> {{applicationName}}</ span >
24
+ </ h3 >
23
25
< div class ="tags ">
24
26
< span v-for ="tag in incident.Tags " class ="badge badge-dark "> {{tag}}</ span >
25
27
</ div >
You can’t perform that action at this time.
0 commit comments