Skip to content

Commit 9bcd2b1

Browse files
soujayjohnsimons
andauthored
Update src/Frontend/src/components/messages2/BodyView.vue
Co-authored-by: John Simons <[email protected]>
1 parent 73e3cd2 commit 9bcd2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Frontend/src/components/messages2/BodyView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const body = computed(() => bodyState.value.data.value);
2626
<div v-else-if="bodyState.failed_to_load" class="alert alert-info">Message body unavailable.</div>
2727
<LoadingSpinner v-else-if="bodyState.loading" />
2828
<CodeEditor v-else-if="body !== undefined && contentType.isSupported" :model-value="body" :language="contentType.language" :read-only="true" :show-gutter="true"></CodeEditor>
29-
<div v-if="body && !contentType.isSupported" class="alert alert-warning">Message body cannot be displayed because content type "{{ bodyState.data.content_type }}" is not supported.</div>
29+
<div v-else-if="body && !contentType.isSupported" class="alert alert-warning">Message body cannot be displayed because content type "{{ bodyState.data.content_type }}" is not supported.</div>
3030
</div>
3131
</template>
3232

0 commit comments

Comments
 (0)