diff --git a/components/content/MatrixPdock.vue b/components/content/pdockqMatrix.vue similarity index 98% rename from components/content/MatrixPdock.vue rename to components/content/pdockqMatrix.vue index 1ba4d7e6cf0d9ff7cb6a865553b614182b7cfeaa..15599df8ce6a81de0ffc050f00fd554e0b30f0cc 100644 --- a/components/content/MatrixPdock.vue +++ b/components/content/pdockqMatrix.vue @@ -70,7 +70,7 @@ const groupedPdocks = computed(() => { } else { throw createError(`More than 2 proteins in a dimer structure for system ${computedSystem.value} !`) } - }), d => d.system_genes.join("--")) + }), d => d.system_genes.sort().join("--")) }) diff --git a/server/plugins/content.ts b/server/plugins/content.ts index 4be4cd0add5744f4d5ed82d14cd3621405231b9b..50a4492a7e3ca7b4957a973c1be8957191c96c70 100644 --- a/server/plugins/content.ts +++ b/server/plugins/content.ts @@ -79,7 +79,7 @@ export default defineNitroPlugin((nitroApp) => { if (index !== -1) { file.body.children.splice(index + 1, 0, { type: "element", - tag: 'matrix-pdock', + tag: 'pdockq-matrix', props: {}, children: [] })