mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Data History - File history - Assets support update operation indexing https://github.com/siyuan-note/siyuan/issues/11177
This commit is contained in:
parent
f2c593b807
commit
dca46b9056
2 changed files with 15 additions and 23 deletions
5
kernel/cache/asset.go
vendored
5
kernel/cache/asset.go
vendored
|
|
@ -41,7 +41,10 @@ func GetAssets() (ret map[string]*Asset) {
|
|||
assetsLock.Lock()
|
||||
defer assetsLock.Unlock()
|
||||
|
||||
ret = assetsCache
|
||||
ret = map[string]*Asset{}
|
||||
for k, v := range assetsCache {
|
||||
ret[k] = v
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue