File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
src/ServicePulse.Host/vue/src/components/failedmessages Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,17 @@ function typeIcon(type) {
227227 text- align: left;
228228}
229229
230+ .lead {
231+ word- wrap: break - word;
232+ color: #181919 ! important;
233+ font- size: 1em ! important;
234+ font- weight: bold ! important;
235+ margin- bottom: 0 .2em ;
236+ white- space: nowrap;
237+ overflow: hidden;
238+ text- overflow: ellipsis;
239+ }
240+
230241.node {
231242 background- color: #fff;
232243 border- color: #cccbcc;
@@ -380,9 +391,4 @@ path.link {
380391 stroke: #ccc;
381392 stroke- width: 2px ;
382393}
383-
384- .righ - side- ellipsis {
385- direction: rtl;
386- text- align: left;
387- }
388394< / style>
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ async function downloadBody() {
127127 const response = await useFetchFromServiceControl (" messages/" + failedMessage .value .message_id + " /body" );
128128 if (response .status === 404 ) {
129129 failedMessage .value .messageBodyNotFound = true ;
130+ return ;
130131 }
131132
132133 if (response .headers .get (" content-type" ) === " application/json" ) {
@@ -138,6 +139,7 @@ async function downloadBody() {
138139 } catch {
139140 failedMessage .value .bodyUnavailable = true ;
140141 }
142+ return ;
141143 }
142144
143145 if (response .headers .get (" content-type" ) === " text/xml" ) {
@@ -147,6 +149,7 @@ async function downloadBody() {
147149 } catch {
148150 failedMessage .value .bodyUnavailable = true ;
149151 }
152+ return ;
150153 }
151154
152155 try {
You can’t perform that action at this time.
0 commit comments