mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 08:01:35 +00:00
fix: fix onLoad auth issue
This commit is contained in:
@@ -134,7 +134,7 @@
|
||||
}
|
||||
|
||||
async function loadUsage() {
|
||||
if (isCloudHosted()) {
|
||||
if (isCloudHosted() && $workspaceStore) {
|
||||
$usageStore = await UserService.getUsage()
|
||||
$workspaceUsageStore = await WorkspaceService.getWorkspaceUsage({
|
||||
workspace: $workspaceStore!
|
||||
|
||||
Reference in New Issue
Block a user