What happened?
logseq.updateSettings API does not update array types correctly.
Reproduce the Bug
- exec
logseq.updateSettings({ foo: [ {a: 1}, { a: 2 } ] }) set initial settings.
- exec
logseq.updateSettings({ foo: [ {a: 1} ] }) delete an item from foo, but settings will not change.
Expected Behavior
when deleting an item from the array, settings change correctly.
Screenshots
No response
Desktop Platform Information
No response
Mobile Platform Information
No response
Additional Context
My current solution is:
exec logseq.updateSettings({ foo: 1 }) before delete.