Skip to content

Commit 588673a

Browse files
Merge pull request #1709 from Particular/smoke-test-fixes
Smoke test fixes
2 parents e912f9c + 807a0bf commit 588673a

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

src/ServicePulse.Host/vue/src/components/failedmessages/FlowDiagram.vue

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff 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>

src/ServicePulse.Host/vue/src/components/failedmessages/MessageView.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)