Prevent errors in historical date kind filter

pull/913/head
Till Breuer 11 years ago
parent 26f4730e4b
commit 928b3c9f47
  1. 2
      app/assets/javascripts/angular/filters/column_filters.js

@ -1,6 +1,8 @@
timelinesApp
.filter('historicalDateKind', function() {
return function(nodeData, dateOption) {
if (!nodeData.does_historical_differ()) return;
var newDate = nodeData[dateOption];
var oldDate = nodeData.historical()[dateOption];

Loading…
Cancel
Save