Skip to content

Commit

Permalink
fix(logs): dont render html on simplified mode
Browse files Browse the repository at this point in the history
  • Loading branch information
clabroche committed Mar 19, 2024
1 parent 3116d66 commit 713b2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/logs/front/src/Logs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
cmd: line.cmd != null && !simplifiedMode,
prompt: line.prompt && !simplifiedMode,
}" v-for="line of displayedLines" :key="line.id" @click="setSelectedLine(line)" >
<div v-html="line.msg" v-if="simplifiedMode"></div>
<div v-if="simplifiedMode">{{ line.msg }}</div>
<div v-else-if="line.cmd != null" >
<template v-if="line.cmd.cmd.trim()">
<h2 class="section-header" v-if="line.cmd.cmd.trim()">
Expand Down

0 comments on commit 713b2c7

Please sign in to comment.