Skip to content

Commit

Permalink
Merge branch 'master' into multiple-gui-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
oganm committed May 15, 2024
2 parents 8391dc5 + f488281 commit 26d9a45
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export function formatDecimal(d) {
}

export function pluralize(s) {
if (s.endsWith("y")) {
return s.slice(0, -1) + "ies";
}
return s.endsWith("x") || s.endsWith("s") ? s + "es" : s + "s";
}

Expand Down
12 changes: 7 additions & 5 deletions src/views/Browser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@
<span>{{ item }}</span>
</template>
<template v-slot:item.name="{item}">
<span v-html="getName(item)"/>
<br v-if="debug && hasHighlight(item)"/>
<small v-if="debug && hasHighlight(item)"
v-html="getHighlight(item)">
</small>
<td style="width: 100%">
<span v-html="getName(item)"/>
<br v-if="debug && hasHighlight(item)"/>
<small v-if="debug && hasHighlight(item)"
v-html="getHighlight(item)">
</small>
</td>
</template>
<template v-slot:item.geeq.publicQualityScore="{ item }">
<v-tooltip v-if="item.geeq" left>
Expand Down

0 comments on commit 26d9a45

Please sign in to comment.