Skip to content

Commit

Permalink
fix: correctly set archiveId when editing/saving objects/software
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelgieschke committed Jun 29, 2024
1 parent 6d0b74b commit fda6b70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ module.exports = ['$scope', '$state', '$stateParams', '$uibModal', '$http', 'Obj
vm.softwareObj.label = vm.metadata.title;

vm.softwareObj.isPublic = vm.isPublic;
vm.softwareObj.archiveId = $stateParams.objectArchive;
vm.softwareObj.archiveId = vm.objectArchive;

if(vm.softwareObj.isOperatingSystem && vm.operatingSystemId)
{
Expand Down

0 comments on commit fda6b70

Please sign in to comment.