From 6b9994a550246463fdfc0c85f08231b973b8f226 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Wed, 6 Jan 2016 18:27:15 -0300 Subject: [PATCH] Fix boxes position --- src/app/main/main.controller.js | 5 +++++ src/app/main/main.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/main/main.controller.js b/src/app/main/main.controller.js index efc0219..bbae2fd 100644 --- a/src/app/main/main.controller.js +++ b/src/app/main/main.controller.js @@ -17,5 +17,10 @@ vm.owner = profile.community; }); } + + vm.boxesOrder = function(box) { + if(box.position==2) return 0; + return box.position; + } } })(); diff --git a/src/app/main/main.html b/src/app/main/main.html index 09034e1..44ca1c2 100644 --- a/src/app/main/main.html +++ b/src/app/main/main.html @@ -5,7 +5,7 @@
- +
-- libgit2 0.21.2