You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Frontend/src/components/messages2/BodyView.vue
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,17 @@ const body = computed(() => bodyState.value.data.value);
21
21
</script>
22
22
23
23
<template>
24
-
<divv-if="bodyState.not_found"class="alert alert-info">Could not find the message body. This could be because the message URL is invalid or the corresponding message was processed and is no longer tracked by ServiceControl.</div>
25
-
<divv-else-if="bodyState.failed_to_load"class="alert alert-info">Message body unavailable.</div>
<divv-elseclass="alert alert-warning">Message body cannot be displayed because content type "{{ bodyState.data.content_type }}" is not supported.</div>
24
+
<divclass="gap">
25
+
<divv-if="bodyState.not_found"class="alert alert-info">Could not find the message body. This could be because the message URL is invalid or the corresponding message was processed and is no longer tracked by ServiceControl.</div>
26
+
<divv-else-if="bodyState.failed_to_load"class="alert alert-info">Message body unavailable.</div>
<divv-elseclass="alert alert-warning">Message body cannot be displayed because content type "{{ bodyState.data.content_type }}" is not supported.</div>
<divv-if="filteredHeaders.length <= 0 && !headers.not_found"class="alert alert-warning">No headers found matching the search term.</div>
50
-
<divv-if="headers.not_found"class="alert alert-info">Could not find message headers. This could be because the message URL is invalid or the corresponding message was processed and is no longer tracked by ServiceControl.</div>
49
+
<!-- Message if filtered list is empty -->
50
+
<divv-if="filteredHeaders.length <= 0 && !headers.not_found"class="alert alert-warning">No headers found matching the search term.</div>
51
+
<divv-if="headers.not_found"class="alert alert-info">Could not find message headers. This could be because the message URL is invalid or the corresponding message was processed and is no longer tracked by ServiceControl.</div>
0 commit comments