From 36f95137d5018c8042b8aecdfb6578860314bc31 Mon Sep 17 00:00:00 2001
From: rsanchez <rsanchez@curisit.net>
Date: Thu, 08 Jun 2017 08:58:46 +0000
Subject: [PATCH] #0 config - Updated covalent and angular versions to 1.0-b4 and 4.1.3

---
 securis/src/main/webapp/src/app/resources/packs.ts |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/securis/src/main/webapp/src/app/resources/packs.ts b/securis/src/main/webapp/src/app/resources/packs.ts
index ba39408..58649bd 100644
--- a/securis/src/main/webapp/src/app/resources/packs.ts
+++ b/securis/src/main/webapp/src/app/resources/packs.ts
@@ -86,13 +86,13 @@
     super($L, http, 'pack');
   }
 
-  public get(filter?: PacksFilter) {
+  public get(filter?: PacksFilter | number) {
+      if (!filter || typeof filter === "number") {
+        return super.get(filter);
+      }
       let searchParams = new MySearchParams(filter);
       let url = `${this.resource}/?${searchParams}`;
       return this.http.get(url).map(response => response.json()).catch(err => super.processErrorResponse(err));
-	}
-  public get(id: number) {
-      return super.get(id);
 	}
 
 

--
Gitblit v1.3.2