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