chg: [website] use join() in js

main
David Cruciani 2024-02-22 11:41:07 +01:00
parent 03e4f79a76
commit 01decb1d44
No known key found for this signature in database
GPG Key ID: 8690CDE1E3994B9B
4 changed files with 6 additions and 9 deletions

View File

@ -56,7 +56,7 @@ export default {
</li>
<li class="list-group-item">
<h5 style="color: brown"><u>Modules</u></h5>
<template v-for="module in history.modules">[[module]],</template>
[[history.modules.join(", ")]]
</li>
</ul>
</a>
@ -77,7 +77,7 @@ export default {
<br>
<p class="mb-1" style="color: #2000ff;"><u>Modules</u>:</p>
<div>
<template v-for="module in history.modules">[[module]],</template>
[[history.modules.join(", ")]]
</div>
<div></div>
<div class="d-flex w-100 justify-content-between">

View File

@ -38,7 +38,7 @@
<br>
<p class="mb-1" style="color: #2000ff;"><u>Modules</u>:</p>
<div>
<template v-for="module in h.modules">[[module]],</template>
[[h.modules.join(", ")]]
</div>

View File

@ -32,7 +32,7 @@
</li>
<li class="list-group-item">
<h5 style="color: brown"><u>Modules</u></h5>
<template v-for="module in his.modules">[[module]],</template>
[[his.modules.join(", ")]]
</li>
</ul>
</a>
@ -49,7 +49,7 @@
<br>
<p class="mb-1" style="color: #2000ff;"><u>Modules</u>:</p>
<div>
<template v-for="module in his.modules">[[module]],</template>
[[his.modules.join(", ")]]
</div>
<div></div>
<div class="d-flex w-100 justify-content-between">

View File

@ -41,10 +41,7 @@
<h4>[[ current_config['module_name'] ]]</h4>
<i>
<small>
Attributes:
<template v-for="attr in current_config['input_attr']">
[[ attr ]],
</template>
Attributes: [[current_config['input_attr'].join(", ")]]
</small>
</i>
<template v-for="conf, key in current_config">