diff options
Diffstat (limited to 'src/app/gns-page/gns-page.component.ts')
-rw-r--r-- | src/app/gns-page/gns-page.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 != ''){ |