mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-24 15:20:21 +08:00
tweak: disable sidebar_items
polling
This commit is contained in:
parent
599c7ad0a1
commit
9a311058ef
@ -569,11 +569,11 @@ async function UIDesktop(options){
|
||||
window.sidebar_items = val;
|
||||
})
|
||||
// also update every 2 seconds
|
||||
setInterval(async () => {
|
||||
puter.kv.get("sidebar_items").then(async (val) => {
|
||||
window.sidebar_items = val;
|
||||
})
|
||||
}, 2000);
|
||||
// setInterval(async () => {
|
||||
// puter.kv.get("sidebar_items").then(async (val) => {
|
||||
// window.sidebar_items = val;
|
||||
// })
|
||||
// }, 2000);
|
||||
|
||||
// Get menubar style
|
||||
puter.kv.get('menubar_style').then(async (val) => {
|
||||
|
Loading…
Reference in New Issue
Block a user