Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,16 @@
} @else if (block.type === 'multi-select-input' && block.values) {
<div class="flex flex-column gap-4 p-4">
@for (value of block.values; track $index) {
<p class="text-no-transform">{{ value }}</p>
@if (value) {
<p class="text-no-transform">{{ value }}</p>
}
}
</div>
} @else if (block.type === 'page-heading' && block.value) {
<h1 class="pb-4 text-no-transform" [class.mt-4]="$index !== 0">{{ block.value }}</h1>
} @else if ((block.type === 'subsection-heading' || block.type === 'question-label') && block.value) {
<h3 class="pb-4 text-no-transform">{{ block.value }}</h3>
} @else if (block.value !== 'select-input-option') {
} @else if (block.value && block.value !== 'select-input-option') {
<p class="pb-4 text-no-transform">{{ block.value }}</p>
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
</div>

<div class="files-table-cell">
{{ file.kind === 'file' ? file.extra.downloads + ' ' + ('common.labels.downloads' | translate) : '' }}
@if (file.extra.downloads) {
{{ file.kind === 'file' ? file.extra.downloads + ' ' + ('common.labels.downloads' | translate) : '' }}
}
</div>

<div class="files-table-cell">
Expand Down
36 changes: 0 additions & 36 deletions src/app/shared/factories/files-tree-selectors.factory.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/app/shared/factories/index.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/app/shared/tokens/files-tree-selectors.token.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/app/shared/tokens/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './files-tree-selectors.token';
export * from './subjects.token';