Skip to content

Commit

Permalink
Merge pull request #91 from shikshalokam/4.10IssueFix
Browse files Browse the repository at this point in the history
project app version fix
  • Loading branch information
aks30 authored Jun 29, 2022
2 parents 4c739e0 + c6b7dc9 commit 198884b
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions generics/helpers/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,17 @@ function convertProjectStatus(status) {

function revertStatusorNot( appVersion ) {

let appVersionNo = Number(appVersion.split('.',2).join('.'));

if ( !isNaN(appVersionNo) && appVersionNo < 4.7 ) {
return true
} else {
let appVer = appVersion.split('.',2).join('.');
if ( appVer == "4.10") {
return false
} else {

let appVersionNo = Number(appVer);
if ( !isNaN(appVersionNo) && appVersionNo < 4.7 ) {
return true
} else {
return false
}
}

}
Expand Down

0 comments on commit 198884b

Please sign in to comment.