[longomatch] Looks like TeamTemplate still exists



commit d9d352e914369233973b0d448a7398afeadbeb8e
Author: Jorge Zapata <jorgeluis zapata gmail com>
Date:   Wed Apr 15 16:40:09 2015 +0200

    Looks like TeamTemplate still exists

 LongoMatch.Services/FileStorage.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/FileStorage.cs b/LongoMatch.Services/FileStorage.cs
index 357a976..2307c62 100644
--- a/LongoMatch.Services/FileStorage.cs
+++ b/LongoMatch.Services/FileStorage.cs
@@ -100,7 +100,7 @@ namespace LongoMatch.Services.Services
                        // TODO remove this once the DB porting is done
                        if (sType == "dashboard") {
                                return ((Dashboard)t).Name;
-                       } else if (sType == "team") {
+                       } else if (sType == "team" || sType == "teamtemplate") {
                                return ((Team)t).Name;
                        } else {
                                return t.ID.ToString ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]