diff options
author | Phil <phil.buschmann@tum.de> | 2018-06-11 22:36:15 +0200 |
---|---|---|
committer | Phil <phil.buschmann@tum.de> | 2018-06-11 22:36:15 +0200 |
commit | 41266762a47ac3c5c1977c688c999116bd1f7db3 (patch) | |
tree | 06940937c87facfe351111796c6ee7ce50c1bf78 | |
parent | dedf1f9f6e2f74cc1b36cbfc566d05c3a50d163b (diff) |
-wip fixes
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/app/gns-page/gns-page.component.ts | 4 | ||||
-rw-r--r-- | 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; -} |