adopted-ember-addons / adopted-ember-addons/ember-light-table
setColumns() not updating the table columns in production
- 主要言語
- JavaScript
- スター
- 311
- フォーク
- 130
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I've built a column selector where users can choose which columns to see and the config is persisted to the DB, which works perfectly in development, however when deployed to production the columns in the table are not updated.
Events are being handled correctly and the config (list of columns) is persisted to the DB as it should be, however the table is not updating with the correct columns. Calling `this.get("table").setColumns(columns)`, where `columns` is the array of selected columns doesn't actually update the table. Performing a page refresh causes the correct columns to be shown (because the column list is persisted), but they don't update dynamically as the user is selecting/deselecting them in production...it does work in development
I noticed on #540 @buschtoens mentioned setting the `hidden` attribute on the columns...would that be the desired approach rather then calling `setColumns` with the new column array? I'm just not sure why this is only broken in production.
コントリビューションガイド
評価
この issue はまだ評価されていません。