reverted.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
[auto-ap.views.utils :refer [dispatch-event bind-field with-user]]
|
||||
[auto-ap.utils :refer [by]]
|
||||
[auto-ap.entities.vendors :as vendor]
|
||||
[auto-ap.views.components.typeahead :refer [typeahead-v3]]
|
||||
[auto-ap.views.components.typeahead :refer [typeahead-entity]]
|
||||
[auto-ap.views.components.invoice-table :refer [invoice-table] :as invoice-table]
|
||||
[cljs.reader :as edn]
|
||||
[clojure.string :as str]
|
||||
@@ -60,14 +60,13 @@
|
||||
[:p.control
|
||||
[:a.button.is-static "Force vendor"]]
|
||||
[:div.control {:style {:width "400px"}}
|
||||
[typeahead-v3 {:entities-by-id @(re-frame/subscribe [::subs/vendors-by-id])
|
||||
:entity-index @(re-frame/subscribe [::subs/searchable-vendors-index])
|
||||
:entity->text :name
|
||||
:name "vendor"
|
||||
:type "typeahead-v3"
|
||||
:on-change (fn [v]
|
||||
(reset! vendor v))
|
||||
:value @vendor}]]
|
||||
[typeahead-entity {:matches @(re-frame/subscribe [::subs/vendors])
|
||||
:match->text :name
|
||||
:name "vendor"
|
||||
:type "typeahead"
|
||||
:on-change (fn [v]
|
||||
(reset! vendor v))
|
||||
:value @vendor}]]
|
||||
]
|
||||
[:div.tile.notification
|
||||
[:div.has-text-centered {:style {:padding "80px 0px" :width "100%"}}
|
||||
|
||||
Reference in New Issue
Block a user