From a72ac1cb3cdd6bee21b49ed0f4b561a687d4fd1d Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 18 Jun 2021 10:11:34 -0400 Subject: [PATCH] remove console.log Signed-off-by: Sebastian Malton --- src/renderer/api/allowed-resources.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer/api/allowed-resources.ts b/src/renderer/api/allowed-resources.ts index 50c9676103..42569ba797 100644 --- a/src/renderer/api/allowed-resources.ts +++ b/src/renderer/api/allowed-resources.ts @@ -22,7 +22,7 @@ import { action, makeObservable, observable, reaction } from "mobx"; import type { ClusterId } from "../../common/cluster-store"; import { ClusterResourceIsAllowedChannel, ClusterGetResourcesChannel, requestMain } from "../../common/ipc"; -import { Disposer, Singleton, toJS } from "../utils"; +import { Disposer, Singleton } from "../utils"; import type { ApiResourceMap } from "../../main/utils/api-resources"; import { ObservableTimer } from "../../common/utils/observable-timer"; import { Notifications } from "../components/notifications"; @@ -54,7 +54,6 @@ export class AllowedResources extends Singleton { async init() { try { this.resources = await requestMain(ClusterGetResourcesChannel, this.clusterId); - console.log(toJS(this.resources)); } catch (error) { console.error("[ALLOWED-RESOURCES]: failed to initialize resources", error); Notifications.error("Failed to initialize resources");