fixed error in photo path
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
7168896ffe
commit
66f90cfdbc
|
@ -245,7 +245,8 @@
|
|||
|
||||
(defn- photo [from photo-path]
|
||||
[react/view
|
||||
[react/image {:source (if (string/starts-with? photo-path "contacts://")
|
||||
[react/image {:source (if (and (not (string/blank? photo-path))
|
||||
(string/starts-with? photo-path "contacts://"))
|
||||
(->> (string/replace photo-path #"contacts://" "")
|
||||
(keyword)
|
||||
(get resources/contacts))
|
||||
|
|
Loading…
Reference in New Issue