From 41266762a47ac3c5c1977c688c999116bd1f7db3 Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 11 Jun 2018 22:36:15 +0200 Subject: -wip fixes --- src/app/gns-page/gns-page.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app/gns-page') 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 != ''){ -- cgit v1.2.3