mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-24 23:38:40 +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;
|
window.sidebar_items = val;
|
||||||
})
|
})
|
||||||
// also update every 2 seconds
|
// also update every 2 seconds
|
||||||
setInterval(async () => {
|
// setInterval(async () => {
|
||||||
puter.kv.get("sidebar_items").then(async (val) => {
|
// puter.kv.get("sidebar_items").then(async (val) => {
|
||||||
window.sidebar_items = val;
|
// window.sidebar_items = val;
|
||||||
})
|
// })
|
||||||
}, 2000);
|
// }, 2000);
|
||||||
|
|
||||||
// Get menubar style
|
// Get menubar style
|
||||||
puter.kv.get('menubar_style').then(async (val) => {
|
puter.kv.get('menubar_style').then(async (val) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user