Merge pull request #167 from tloncorp/hm/fix-settings-mark

settings: wrong mark
This commit is contained in:
Hunter Miller 2023-05-11 16:23:34 -05:00 committed by GitHub
commit b69057b4f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -41,7 +41,9 @@
++ on-load
|= =old=vase
^- (quip card _this)
=/ old !<(versioned-state old-vase)
=/ old ((soft versioned-state) q.old-vase)
?~ old on-init
=/ old u.old
|-
?- -.old
%0 $(old [%1 +.old])

View File

@ -41,7 +41,9 @@
++ on-save !>(state)
++ on-load
|= =vase
=/ old !<(versioned-state vase)
=/ old ((soft versioned-state) q.vase)
?~ old on-init
=/ old u.old
|^
?- -.old
%1 `this(state old)

View File

@ -105,7 +105,7 @@ export const useSettingsState = createState<BaseSettingsState>(
putEntry: async (bucket, key, val) => {
const poke = {
app: 'settings',
mark: 'settings-update',
mark: 'settings-event',
json: {
'put-entry': {
desk: window.desk,