gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet-webui] 01/02: -wip fixes


From: gnunet
Subject: [GNUnet-SVN] [gnunet-webui] 01/02: -wip fixes
Date: Mon, 11 Jun 2018 22:47:03 +0200

This is an automated email from the git hooks/post-receive script.

phil pushed a commit to branch master
in repository gnunet-webui.

commit 41266762a47ac3c5c1977c688c999116bd1f7db3
Author: Phil <address@hidden>
AuthorDate: Mon Jun 11 22:36:15 2018 +0200

    -wip fixes
---
 package.json                           | 2 +-
 src/app/gns-page/gns-page.component.ts | 4 ++--
 src/app/hero.ts                        | 4 ----
 3 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/package.json b/package.json
index eae394d..0401090 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
 {
   "name": "gnunet-webui",
   "version": "0.0.0",
-  "license": "MIT",
+  "license": "GNU Affero General Public License v3",
   "scripts": {
     "ng": "ng",
     "start": "ng serve",
diff --git a/src/app/gns-page/gns-page.component.ts 
b/src/app/gns-page/gns-page.component.ts
index ea25fc5..844de8d 100644
--- a/src/app/gns-page/gns-page.component.ts
+++ b/src/app/gns-page/gns-page.component.ts
@@ -25,10 +25,10 @@ export class GnsPageComponent implements OnInit {
 
   onSearch(){
     this.url = '?name='+this.gns_name;
-    if(this.gns_recordtype != null && this.gns_recordtype != ''){
+    if(this.gns_recordtype != null){
       this.url += '&record_type='+this.gns_recordtype;
     }
-    if(this.gns_options != null && this.gns_options != ''){
+    if(this.gns_options != null){
       this.url += '&options='+this.gns_options;
     }
     if(this.gns_zonekey != null && this.gns_zonekey != ''){
diff --git a/src/app/hero.ts b/src/app/hero.ts
deleted file mode 100644
index e3eac51..0000000
--- a/src/app/hero.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export class Hero {
-  id: number;
-  name: string;
-}

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]