implementing permissions to companies

This commit is contained in:
Bryce Covert
2017-12-20 09:00:45 -08:00
parent 2af3752041
commit ef252de79d
5 changed files with 16 additions and 29 deletions

View File

@@ -3,12 +3,7 @@
(def default-db
{:user (.getItem js/localStorage "jwt")
:company {:name "Campbell Brewing Company"}
:companies [{:name "Campbell Brewing Company"
:matches ["campbell brewing company" "campbell brewery company" "campbell brewing"]}
{:name "Brown Chicken Brown Cow"
:matches ["brown chicken brown cow"]}
{:name "Naschmarkt Restaurant"
:matches ["naschmarkt" "naschmarkt restaurant"]}]
:companies []
:invoices {:pending #{}
:unpaid #{}}
:status {:loading false}