fix: soft rework Customers pages
This commit is contained in:
parent
246f736fa8
commit
b853f366f1
27 changed files with 658 additions and 306 deletions
|
|
@ -1,5 +1,7 @@
|
|||
import * as R from 'ramda'
|
||||
|
||||
const ifNotNull = (value, valueIfNotNull) => {
|
||||
return value === null ? '' : valueIfNotNull
|
||||
return R.isNil(value) ? '' : valueIfNotNull
|
||||
}
|
||||
|
||||
export { ifNotNull }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue