display placeholder on empty columns

This becomes important when displaying work packages with different types where one type does not have a custom field but that custom field is selected to be displayed within the table
pull/4228/head
Jens Ulferts 9 years ago
parent aa0a0d28b3
commit 0df2f9e216
  1. 1
      frontend/app/components/wp-table/wp-td/wp-td.directive.js

@ -49,6 +49,7 @@ function wpTd(){
function WorkPackageTdController($scope, I18n, PathHelper, WorkPackagesHelper) {
var vm = this;
vm.displayText = I18n.t('js.work_packages.placeholders.default');
function updateAttribute() {
if (!vm.schema[vm.attribute]) {

Loading…
Cancel
Save