adopted-ember-addons / adopted-ember-addons/ember-local-storage

Re-saving index key

未關閉
#323 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
JavaScript
星號
220
分支
78
PR 合併指標
30 天內沒有已合併 PR

描述

Using the LS adapter with Ember Data. On a fresh load, with records already saved in LS:

If I do localStorage.clear() and then save a record, both the record and the index key for that model type are saved to LS. If I repeat clearing and saving, the index key doesn´t save. Is there a way to force the index key to save - presume this is some sort of internal caching issue?

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。