Skip to content

Commit

Permalink
Merge pull request #169 from ligangty/nfc
Browse files Browse the repository at this point in the history
Fix issues for display of no nfc items found of empty arrays
  • Loading branch information
ligangty authored Feb 6, 2024
2 parents 9606b4e + 3eb08d8 commit 3240f1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/webui/src/app/components/content/addons/NFC.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,7 @@ export default function NFC() {
{error && error.trim() !== "" && <div className="alert alert-danger" role="alert">{error}</div>}
{(message && message.trim() !== "" || error && error.trim() !== "") && <hr />}
{
sections?
sections.length > 0 &&
sections && sections.length > 0 ?
<ul>
{
sections.map(section => <li key={section.key} role={`section-${section.key}`} className="section">
Expand Down

0 comments on commit 3240f1c

Please sign in to comment.