Navbar: Nur Plugins mit Frontend-Component als Tab anzeigen
Filtert Backend-only Plugins (z.B. Notifications) aus der Tab-Leiste. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cdb5b41be0
commit
1bcfef68fe
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ export default function App() {
|
|||
</div>
|
||||
|
||||
<nav className="hub-tabs">
|
||||
{plugins.map(p => (
|
||||
{plugins.filter(p => p.name in tabComponents).map(p => (
|
||||
<button
|
||||
key={p.name}
|
||||
className={`hub-tab ${activeTab === p.name ? 'active' : ''}`}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue