not using namespaced keys, due to graphql
This commit is contained in:
@@ -23,11 +23,11 @@
|
||||
[:th "Invoice #"]
|
||||
[:th "Date"]
|
||||
[:th "Amount"]]]
|
||||
[:tbody (for [{:keys [company invoice-number date total id vendor-id] :as i} @invoices]
|
||||
^{:key (str company "-" invoice-number "-" date "-" total "-" id)}
|
||||
[:tbody (for [{:keys [company vendor invoice-number date total id] :as i} @invoices]
|
||||
^{:key (str (:id company) "-" invoice-number "-" date "-" total "-" id)}
|
||||
[:tr
|
||||
[:td vendor-id]
|
||||
[:td company]
|
||||
[:td (:name vendor)]
|
||||
[:td (:name company)]
|
||||
[:td invoice-number]
|
||||
[:td date]
|
||||
[:td total]])]])]))
|
||||
|
||||
Reference in New Issue
Block a user