Skip to content
Snippets Groups Projects
Commit 4ef58b8c authored by David Mendez's avatar David Mendez
Browse files

Eubopen report cards: show entity name in report card title

parent b4f4aa8d
No related branches found
No related tags found
1 merge request!24Improve report cards layout and remove some properties for now
......@@ -10,7 +10,8 @@ import EntityNames from '~/web-components-submodule/standardisation/EntityNames.
const methods = {
generateReportCardStructure(itemID, prefName) {
return {
title: `${EntityNames.EubopenCompound.singularEntityName} ${prefName}`,
title: prefName,
entityName: EntityNames.EubopenCompound.singularEntityName,
sections: [
{
id: 'Summary',
......
......@@ -6,7 +6,8 @@ import TargetCrystalStructures from '~/components/report_cards/target/TargetCrys
const methods = {
generateReportCardStructure(itemID, prefName) {
return {
title: `${EntityNames.EubopenTarget.singularEntityName} ${prefName}`,
title: prefName,
entityName: EntityNames.EubopenTarget.singularEntityName,
sections: [
{
id: 'NameAndClassification',
......
Subproject commit 04914c60725d9fbb0934065001e1dc07bf7e59d5
Subproject commit 924e19dc1a9cb117680d35da4fed584484bd2ef4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment