fix: auto-increment settings.

This commit is contained in:
Ahmed Bouhuolia
2020-12-12 13:26:36 +02:00
parent 4c8346ac3d
commit e9e4ddaee0
6 changed files with 43 additions and 20 deletions

View File

@@ -223,6 +223,10 @@ const formatNumber = (balance, { noCents = false, divideOn1000 = false }) => {
return formattedBalance + '';
};
const isBlank = (value) => {
return _.isEmpty(value) && !_.isNumber(value) || _.isNaN(value);
}
export {
hashPassword,
origin,
@@ -241,5 +245,6 @@ export {
getDefinedOptions,
entriesAmountDiff,
convertEmptyStringToNull,
formatNumber
formatNumber,
isBlank
};