Skip to content

Commit 67485b7

Browse files
committed
fix(ApplicationsCenter): simplify module name display in application list
1 parent ffc0afe commit 67485b7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

core/ui/src/views/ApplicationsCenter.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,7 @@
202202
:alt="row.name + ' logo'"
203203
class="module-logo"
204204
/>
205-
<span class="app-name">{{
206-
row.module.charAt(0).toUpperCase() + row.module.slice(1)
207-
}}</span>
205+
<span class="app-name">{{ row.module }}</span>
208206
</a>
209207
</cv-data-table-cell>
210208
<cv-data-table-cell>
@@ -754,7 +752,10 @@ export default {
754752
extractedModules.push({
755753
id: installedData.id || "",
756754
// Use module logo URL if available, else fallback to instance logo later in the template
757-
logo: moduleData.logo && moduleData.logo.startsWith("http") ? moduleData.logo : "",
755+
logo:
756+
moduleData.logo && moduleData.logo.startsWith("http")
757+
? moduleData.logo
758+
: "",
758759
module: moduleData.name || "", // we want a humanized module name
759760
node: installedData.node || "",
760761
node_ui_name: installedData.node_ui_name || "",

0 commit comments

Comments
 (0)