Skip to content

Commit

Permalink
chg: [website] use join() in js
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCruciani committed Feb 22, 2024
1 parent 03e4f79 commit 01decb1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions website/app/static/js/history/history_view.js
Expand Up @@ -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>
Expand All @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion website/app/templates/history.html
Expand Up @@ -38,7 +38,7 @@ <h5 class="mb-1">[[h.query]]</h5>
<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>


Expand Down
4 changes: 2 additions & 2 deletions website/app/templates/history_session.html
Expand Up @@ -32,7 +32,7 @@ <h5 style="color: brown"><u>Input Attributes</u></h5>
</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>
Expand All @@ -49,7 +49,7 @@ <h5 class="mb-1">[[his.query]]</h5>
<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">
Expand Down
5 changes: 1 addition & 4 deletions website/app/templates/modules_config.html
Expand Up @@ -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">
Expand Down

0 comments on commit 01decb1

Please sign in to comment.