fix worker groups for non superadmins

This commit is contained in:
Ruben Fiszel
2023-09-30 07:50:13 +02:00
parent ff9f180dd9
commit 79ead8f8e3
4 changed files with 10 additions and 9 deletions
@@ -241,5 +241,9 @@
delete config
</Button>
{/if}
{:else if config}
<span class="text-xs text-secondary"
>config <Tooltip>{JSON.stringify(config, null, 4)}</Tooltip></span
>
{/if}
</div>
@@ -71,8 +71,10 @@
secondInterval = setInterval(() => {
timeSinceLastPing += 1
}, 1000)
loadGlobalCache()
loadCustomTags()
if ($superadmin) {
loadGlobalCache()
loadCustomTags()
}
})
async function loadGlobalCache() {