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