From 7ccb81e8fb231a1dfdeaae99840794415a0dd49b Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sun, 25 Sep 2016 10:20:02 +0300 Subject: [PATCH] Fix images builtin library data structure format. --- src/uxbox/main/library/images.cljs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/uxbox/main/library/images.cljs b/src/uxbox/main/library/images.cljs index b792d2cbd..e5e1984e0 100644 --- a/src/uxbox/main/library/images.cljs +++ b/src/uxbox/main/library/images.cljs @@ -10,7 +10,7 @@ (def +collections+ [{:name "Generic 1" :id 1 - :builtin true + :type :builtin :images [{:id 1 :name "image_name.jpg" :url "https://images.unsplash.com/photo-1455098934982-64c622c5e066?crop=entropy&fit=crop&fm=jpg&h=1025&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1400" @@ -38,19 +38,19 @@ {:name "Generic 2" :id 2 - :builtin true + :type :builtin :images [{:id 7 :name "image_name.jpg" :url "https://images.unsplash.com/photo-1455098934982-64c622c5e066?crop=entropy&fit=crop&fm=jpg&h=1025&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1400" :thumbnail "https://images.unsplash.com/photo-1455098934982-64c622c5e066?crop=entropy&fit=crop&fm=jpg&h=1025&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1400"} {:id 8 - :name "image_name_long_name.jpg" - :url "https://images.unsplash.com/photo-1422393462206-207b0fbd8d6b?crop=entropy&fit=crop&fm=jpg&h=1025&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1925" - :thumbnail "https://images.unsplash.com/photo-1422393462206-207b0fbd8d6b?crop=entropy&fit=crop&fm=jpg&h=1025&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1925"} - {:id 9 :name "image_name.jpg" :url "https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014" :thumbnail "https://images.unsplash.com/photo-1441986380878-c4248f5b8b5b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=486f09671860a11e70bdd0a45e7c5014"} + {:id 9 + :name "image_name_long_name.jpg" + :url "https://images.unsplash.com/photo-1422393462206-207b0fbd8d6b?crop=entropy&fit=crop&fm=jpg&h=1025&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1925" + :thumbnail "https://images.unsplash.com/photo-1422393462206-207b0fbd8d6b?crop=entropy&fit=crop&fm=jpg&h=1025&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1925"} {:id 10 :name "image_name_big_long_name.jpg" :url "https://images.unsplash.com/photo-1423768164017-3f27c066407f?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&w=1080&fit=max&s=712b919f3a2f6fc34f29040e8082b6d9"