0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 22:22:42 +00:00

author fix 3

This commit is contained in:
Víctor Losada Hernández
2024-01-27 19:14:38 +01:00
parent 4630d2640b
commit 2c691d84f2

View File

@@ -137,7 +137,7 @@ const BrewItem = createClass({
</> : <></>
}
<span title={`Authors:\n${brew.authors?.join('\n')}`}>
<i className='fas fa-user'/> {authors.isArray(authors) ? (
<i className='fas fa-user'/> {Array.isArray(authors) ? (
<span>
{authors.map((author, index) => (
<span key={index}>