mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 16:03:21 +00:00
fix worker groups for non superadmins
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user