Commit 6634e381 authored by Ziwen Su's avatar Ziwen Su

Considered the case of tag=0.

parent f261ce03
......@@ -516,8 +516,13 @@ export class SearchComponent implements OnInit {
}
else {
this.jobtag_value= (Number(this.jobtag_bool[0]) + Number(this.jobtag_bool[1])*2 + Number(this.jobtag_bool[2])*4 + Number(this.jobtag_bool[3])*8 + Number(this.jobtag_bool[4])*16).toString();
if ( this.jobtag_value == "0" ) {
this.jobtag_value = null;
}
}
if ( this.jobtag_value ){
this.jobtag_value = this.selected_jobtag_option + " " + this.jobtag_value;
}
var jobtag_display;
if ( this.jobtag_bool[0] ) {
jobtag_display = "memory-bound";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment