ngxSmap fixed bug in condition