Loading frontend/TabBar.mjs +1 −2 Changes for frontend/TabBar.mjs: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2,8 +2,7 @@ import { Tab } from "./components/pieces/Tab.mjs" // TabBar.mjs const TabBar = { view: function (vnode) { const { currentView } = vnode.attrs view () { const tabs = [ { id: "all", label: "Alle" }, { id: "favorites", label: "Favoriten" }, Loading frontend/app.mjs +1 −3 Changes for frontend/app.mjs: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -21,9 +21,7 @@ export const AppLayout = { searchTerm: this.searchTerm, onSearchTermChange: this.onSearchTermChange.bind(this), }), m(TabBar, { currentView, }), m(TabBar), // Rendere die Song-Liste-Komponente. // Übergib den aktuellen Tab, den Suchbegriff UND den Callback zum Ändern des Suchbegriffs. m(SongList, { Loading Loading
frontend/TabBar.mjs +1 −2 Changes for frontend/TabBar.mjs: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2,8 +2,7 @@ import { Tab } from "./components/pieces/Tab.mjs" // TabBar.mjs const TabBar = { view: function (vnode) { const { currentView } = vnode.attrs view () { const tabs = [ { id: "all", label: "Alle" }, { id: "favorites", label: "Favoriten" }, Loading
frontend/app.mjs +1 −3 Changes for frontend/app.mjs: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -21,9 +21,7 @@ export const AppLayout = { searchTerm: this.searchTerm, onSearchTermChange: this.onSearchTermChange.bind(this), }), m(TabBar, { currentView, }), m(TabBar), // Rendere die Song-Liste-Komponente. // Übergib den aktuellen Tab, den Suchbegriff UND den Callback zum Ändern des Suchbegriffs. m(SongList, { Loading