Fix column updates when no columns are is added

pull/1302/head
Till Breuer 11 years ago
parent 8ad36c7f0f
commit 7cc1edf661
  1. 2
      app/assets/javascripts/angular/controllers/dialogs/columns.js

@ -94,7 +94,7 @@ angular.module('openproject.workPackages.controllers')
if(groupBy.length === 0) groupBy = undefined; // don't pass an empty string as groupBy
WorkPackageService.augmentWorkPackagesWithColumnsData(currentWorkPackages, addedColumns, groupBy);
if(addedColumns.length) WorkPackageService.augmentWorkPackagesWithColumnsData(currentWorkPackages, addedColumns, groupBy);
columnsModal.deactivate();
}

Loading…
Cancel
Save