Skip to content

Commit e5700c0

Browse files
committed
fix: do not show publications tab if there are none
1 parent 716205a commit e5700c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/src/ui/pages/softwareDetails/SoftwareDetails.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ export default function SoftwareDetails(props: Props) {
258258
)
259259
}
260260
]),
261-
...(software.referencePublications === undefined
261+
...(software.referencePublications === undefined ||
262+
software.referencePublications.length === 0
262263
? []
263264
: [
264265
{

0 commit comments

Comments
 (0)