Skip to content

Commit

Permalink
Add Nethesis NP-V61
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-marchionni committed Nov 7, 2024
1 parent 4c6e3a4 commit cd067fc
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ angular.module('nethvoiceWizardUiApp')
const npx3Digits = "00"
const npx5Digits = "01"
const npx210Digits = "02"
const npv61Digits = "03"
const npx3Name = "nethesis-NPX3"
const npx5Name = "nethesis-NPX5"
const npx210Name = "nethesis-NPX210"
const npv61Name = "nethesis-NPV61"

function gotModels(models) {
$scope.models = models;
Expand Down Expand Up @@ -240,7 +242,8 @@ angular.module('nethvoiceWizardUiApp')
$scope.manualModel = $scope.manualFilteredModels.find(( model ) => { return model.name === npx5Name })
} else if (mac.toUpperCase().split("-")[modelDigitsKey] === npx210Digits) {
$scope.manualModel = $scope.manualFilteredModels.find(( model ) => { return model.name === npx210Name })
}
} else if (mac.toUpperCase().split("-")[modelDigitsKey] === npv61Digits) {
$scope.manualModel = $scope.manualFilteredModels.find(( model ) => { return model.name === npv61Name })
}
} else {
$scope.manualVendor = null;
Expand Down Expand Up @@ -694,6 +697,8 @@ angular.module('nethvoiceWizardUiApp')
phone.model = phone.filteredModels.find(( model ) => { return model.name === npx5Name })
} else if (mac.toUpperCase().split("-")[modelDigitsKey] === npx210Digits) {
phone.model = phone.filteredModels.find(( model ) => { return model.name === npx210Name })
} else if (mac.toUpperCase().split("-")[modelDigitsKey] === npv61Digits) {
phone.model = phone.filteredModels.find(( model ) => { return model.name === npv61Name })
}
}
} else {
Expand Down

0 comments on commit cd067fc

Please sign in to comment.