fix: continue conversion of settings system

This commit is contained in:
David Ralph
2024-06-14 19:51:43 +01:00
parent a7ba47d15b
commit 0e383ccc0d
6 changed files with 30 additions and 52 deletions

View File

@@ -205,7 +205,7 @@ const TabNavbar = ({ modalClose }) => {
{variables.getMessage(`modals.main.navbar.${tab.id}`)}
{tab.id === 'addons' && (
<span className="px-3 py-1 bg-[#424242] rounded-lg text-xs">
{JSON.parse(localStorage.getItem('installed')).length}
{(JSON.parse(localStorage.getItem('installed')) || []).length}
</span>
)}
{tab.id === 'marketplace' && (