Skip to content

Commit

Permalink
Merge pull request #3003 from SEED-platform/2999-bug/notes-breaking-nav
Browse files Browse the repository at this point in the history
refactor: update scope to include inventory
  • Loading branch information
perryr16 committed Nov 10, 2021
2 parents 1911cbf + d543f22 commit 339edd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion seed/static/seed/js/controllers/notes_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ angular.module('BE.seed.controller.notes', [])
$scope.urls = urls;

$scope.inventory_name = note_service.inventory_display_name(inventory_type === 'properties' ? 'property' : 'taxlot', organization_payload.organization, inventory_payload.state);


$scope.inventory = {view_id: view_id}

$scope.close = function () {
if ($uibModalInstance) {
$uibModalInstance.close($scope.notes.length);
Expand Down

0 comments on commit 339edd3

Please sign in to comment.