Skip to content

Commit

Permalink
iFix issues for display of no nfc items found of empty arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
ligangty committed Feb 6, 2024
1 parent 9606b4e commit 3eb08d8
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 3eb08d8

Please sign in to comment.