fix document-section
parent
4bd7e86bf1
commit
62b8306f0f
|
|
@ -1,6 +1,6 @@
|
|||
<!-- <span style="white-space: pre-wrap;">
|
||||
{{section.groups.data[0].fields.data[0].value.data[0].links.download|json}}
|
||||
{{section.groups.data[0].fields.data|json}}
|
||||
</span> -->
|
||||
|
||||
<a [textContent]="title" class="title" [href]="download"></a>
|
||||
<a [textContent]="name" class="title" [href]="download"></a>
|
||||
<div [textContent]="description" class="description"></div>
|
||||
|
|
@ -20,10 +20,14 @@ export class DocumentSectionComponent {
|
|||
return this.section.groups.data[0].fields.data[1].title;
|
||||
}
|
||||
|
||||
get description(){
|
||||
get name(){
|
||||
return this.section.groups.data[0].fields.data[1].value.data[0];
|
||||
}
|
||||
|
||||
get description(){
|
||||
return this.section.groups.data[0].fields.data[2].value.data[0];
|
||||
}
|
||||
|
||||
get download(){
|
||||
return this.section.groups.data[0].fields.data[0].value.data[0].links.download;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue