mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-07 10:43:39 +02:00
Use new song-table on search result page
This commit is contained in:
parent
21b00dbd6b
commit
60a4b41371
2 changed files with 13 additions and 13 deletions
|
|
@ -2,7 +2,8 @@
|
|||
(:require [re-frame.core :refer [dispatch subscribe]]
|
||||
[goog.functions :refer [debounce]]
|
||||
[airsonic-ui.routes :as routes :refer [url-for]]
|
||||
[airsonic-ui.views.song :as song]
|
||||
[airsonic-ui.components.collection.views :refer [song-table]]
|
||||
[airsonic-ui.components.debug :refer [debug]]
|
||||
[airsonic-ui.views.cover :refer [card]]))
|
||||
|
||||
(defn form []
|
||||
|
|
@ -41,8 +42,9 @@
|
|||
(defn album-results [{:keys [album]}]
|
||||
[result-cards (map (juxt album-url identity) album)])
|
||||
|
||||
(defn song-results [{:keys [song]}]
|
||||
[song/listing song])
|
||||
(defn song-results [{songs :song}]
|
||||
[]
|
||||
[song-table songs])
|
||||
|
||||
(defn results [{:keys [search]}]
|
||||
(let [term @(subscribe [:search/current-term])]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue