Latest updates from IceHrmPro
This commit is contained in:
19
web/node_modules/antd/lib/progress/utils.js
generated
vendored
Normal file
19
web/node_modules/antd/lib/progress/utils.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.validProgress = validProgress;
|
||||
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
function validProgress(progress) {
|
||||
if (!progress || progress < 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (progress > 100) {
|
||||
return 100;
|
||||
}
|
||||
|
||||
return progress;
|
||||
}
|
||||
Reference in New Issue
Block a user