File tree Expand file tree Collapse file tree
webui/src/components/dashboard/kafka Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -294,22 +294,22 @@ function formatHeaderValue(v: KafkaHeaderValue) {
294294 <table class =" table dataTable selectable" aria-label =" Recent Messages" >
295295 <thead >
296296 <tr >
297+ <th scope =" col" class =" text-left col-2" v-if =" !topicName" >Topic</th >
297298 <th scope =" col" class =" text-left col-2" >Key</th >
298299 <th scope =" col" class =" text-left col-4" >Value</th >
299- <th scope =" col" class =" text-left col-2" v-if =" !topicName" >Topic</th >
300300 <th scope =" col" class =" text-center col-2" >Time</th >
301301
302302 </tr >
303303 </thead >
304304 <tbody >
305305 <tr v-for =" msg in messages" :key =" msg.id" @click.left =" handleMessageClick(msg.event)" @mousedown.middle =" goToMessage(msg.event, true)" :class =" msg.deleted ? 'deleted': ''" >
306+ <td v-if =" !topicName" >{{ msg.event.traits["topic"] }}</td >
306307 <td class =" key" >
307308 <router-link @click.stop class =" row-link" :to =" {name: getRouteName('kafkaMessage').value, params: { id: msg.id }}" >
308309 {{ msg.key }}
309310 </router-link >
310311 </td >
311312 <td class =" message" :title =" msg.isAvro ? 'Avro content displayed as JSON' : ''" >{{ msg.value }}</td >
312- <td v-if =" !topicName" >{{ msg.event.traits["topic"] }}</td >
313313 <td class =" text-center" >{{ format(msg.event.time) }}</td >
314314 </tr >
315315 </tbody >
You can’t perform that action at this time.
0 commit comments