If data.health is an empty string, ?? will accept it and not use the right side value; instead, we should use || which treats empty string as false and returns the right side value. This will show "RUNNING" in the status box if health is "".pull/912/head
parent
41a2e5932f
commit
ff27b1ef51
Loading…
Reference in new issue