diff --git a/ember-headless-table/src/plugins/-private/base.ts b/ember-headless-table/src/plugins/-private/base.ts index 84dcdbfe..cf188292 100644 --- a/ember-headless-table/src/plugins/-private/base.ts +++ b/ember-headless-table/src/plugins/-private/base.ts @@ -289,7 +289,6 @@ function columnsFor( let visibility = findPlugin(table.plugins, 'columnVisibility'); let reordering = findPlugin(table.plugins, 'columnOrder'); - let sizing = findPlugin(table.plugins, 'columnResizing'); // TODO: actually resolve the graph, rather than use the hardcoded feature names // atm, this only "happens" to work based on expectations of @@ -302,10 +301,6 @@ function columnsFor( table.plugins.some((plugin) => plugin instanceof (requester as Class)) ); - if (sizing && sizing.constructor === requester) { - return table.columns.values(); - } - if (visibility && visibility.constructor === requester) { return table.columns.values(); } @@ -341,15 +336,6 @@ function columnsFor( return visibility.columns; } - if (sizing) { - assert( - `<#${sizing.name}> defined a 'columns' property, but did not return valid data.`, - sizing.columns && Array.isArray(sizing.columns) - ); - - return sizing.columns; - } - return table.columns.values(); } @@ -375,15 +361,6 @@ function columnsFor( return visibility.columns; } - if (sizing) { - assert( - `<#${sizing.name}> defined a 'columns' property, but did not return valid data.`, - sizing.columns && Array.isArray(sizing.columns) - ); - - return sizing.columns; - } - return table.columns.values(); }