We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 293ea66 commit 1937aa4Copy full SHA for 1937aa4
inst/www/shared/shiny.js
@@ -1195,7 +1195,7 @@
1195
},
1196
renderValue: function(el, data) {
1197
var $el = $(el).empty();
1198
- if (!data.colnames) return();
+ if (!data || !data.colnames) return;
1199
var colnames = $.makeArray(data.colnames);
1200
var header = colnames.map(function(x) {
1201
return '<th>' + x + '</th>';
0 commit comments