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 {
1515 private static readonly selectCollectionTitle : string = "(select collection)" ;
1616 private team : ApplicationMember [ ] = [ ] ;
1717
18+ applicationName = "" ;
1819 name = "" ;
1920 incidentId = 0 ;
2021 incident = new GetIncidentResult ( ) ;
@@ -104,6 +105,11 @@ export default class AnalyzeIncidentComponent extends Vue {
104105 this . highlights = data ;
105106 } ) ;
106107
108+ AppRoot . Instance . applicationService . get ( incident . ApplicationId )
109+ . then ( x => {
110+ this . applicationName = x . name ;
111+ } ) ;
112+
107113 var query = new GetApplicationVersions ( ) ;
108114 query . ApplicationId = this . incident . ApplicationId ;
109115 this . apiClient . query < GetApplicationVersionsResult > ( query ) . then ( x => {
Original file line number Diff line number Diff line change 77 < div class ="btn-group " role ="group ">
88 < a class ="btn btn-primary text-light " v-on:click ="closeIncident "> Close incident</ a >
99 < 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 >
1111 < div class ="dropdown-menu dropdown-menu-right ">
1212 < span class ="dropdown-item " v-on:click ="reAssign "> < i class ="fa-redo fa text-muted "> </ i > Re-assign</ span >
1313 <!--<span class="dropdown-item" v-on:click="addToTfs"><i class="fa-code-branch fa text-muted"></i> Add to TFS/VSTS</span>-->
1717 </ div >
1818 </ div >
1919
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 >
2325 < div class ="tags ">
2426 < span v-for ="tag in incident.Tags " class ="badge badge-dark "> {{tag}}</ span >
2527 </ div >
You can’t perform that action at this time.
0 commit comments