mirror of
https://github.com/tloncorp/landscape.git
synced 2024-12-25 09:43:28 +03:00
Merge pull request #167 from tloncorp/hm/fix-settings-mark
settings: wrong mark
This commit is contained in:
commit
b69057b4f1
@ -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])
|
||||
|
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user