When a ember-table is initially rendered without a tfoot, and a tfoot is added after the initial render (e.g. due to a loading state), the table will cause a crash on destroy.
This happens because the TABLE_POLYFILL_MAP does not have an entry for the specific tfoot element and thus, we call .destroy() on undefined.
When a ember-table is initially rendered without a
tfoot
, and atfoot
is added after the initial render (e.g. due to a loading state), the table will cause a crash on destroy.This happens because the
TABLE_POLYFILL_MAP
does not have an entry for the specifictfoot
element and thus, we call.destroy()
onundefined
.