Skip to content

Commit 1a60f02

Browse files
Merge branch 'feat/550-file-widget' of github.com:CenterForOpenScience/angular-osf into feat/550-file-widget
2 parents 65bc52b + 6e91985 commit 1a60f02

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

‎src/app/features/project/overview/components/files-widget/files-widget.component.html‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,14 @@ <h2>{{ 'navigation.files' | translate }}</h2>
1919
<p-tablist>
2020
@for (option of storageAddons(); track option.folder.id) {
2121
<p-tab class="p-1" [value]="option.folder.id">
22-
<p-button
22+
<p-button
2323
severity="contrast"
2424
variant="text"
25+
[styleClass]="option.folder.id === currentRootFolder()?.folder?.id ? 'text-600' : 'text-500'"
2526
[disabled]="isFilesLoading()"
27+
[label]="option.label"
2628
[raised]="option.folder.id === currentRootFolder()?.folder?.id"
2729
>
28-
<span
29-
class="font-bold"
30-
[class]="option.folder.id === currentRootFolder()?.folder?.id ? 'text-600' : 'text-500'"
31-
>
32-
{{ option.label }}
33-
</span>
3430
</p-button>
3531
</p-tab>
3632
}

0 commit comments

Comments
 (0)