diff options
-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 @@ | |||
1 | { | 1 | { |
2 | "name": "gnunet-webui", | 2 | "name": "gnunet-webui", |
3 | "version": "0.0.0", | 3 | "version": "0.0.0", |
4 | "license": "MIT", | 4 | "license": "GNU Affero General Public License v3", |
5 | "scripts": { | 5 | "scripts": { |
6 | "ng": "ng", | 6 | "ng": "ng", |
7 | "start": "ng serve", | 7 | "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 { | |||
25 | 25 | ||
26 | onSearch(){ | 26 | onSearch(){ |
27 | this.url = '?name='+this.gns_name; | 27 | this.url = '?name='+this.gns_name; |
28 | if(this.gns_recordtype != null && this.gns_recordtype != ''){ | 28 | if(this.gns_recordtype != null){ |
29 | this.url += '&record_type='+this.gns_recordtype; | 29 | this.url += '&record_type='+this.gns_recordtype; |
30 | } | 30 | } |
31 | if(this.gns_options != null && this.gns_options != ''){ | 31 | if(this.gns_options != null){ |
32 | this.url += '&options='+this.gns_options; | 32 | this.url += '&options='+this.gns_options; |
33 | } | 33 | } |
34 | if(this.gns_zonekey != null && this.gns_zonekey != ''){ | 34 | 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 @@ | |||
1 | export class Hero { | ||
2 | id: number; | ||
3 | name: string; | ||
4 | } | ||