Hello,
I've got defaults setup as such :
{
"initialized": false,
...
"options": {
"admin": {
"darkmode": true,
...
},
"items": {
"preview": false,
...
}
}
}
I'm looking to reset only "options": {"items": { ... }}
in my store but I couldn't find how to do it.
If I do a store.reset('options')
all of my store options
get correctly cleared, but also any other data inside of it (like admin
).
I feel like reset(...keys)
doesn't understand the dot notation, is there something I'm missing, or should I split my store into something like :
{
...,
"adminOptions": {
"darkmode": true,
...
},
"itemsOptions": {
"preview": false,
...
}
}
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too