diff --git a/src/common/ipc/cluster.ipc.ts b/src/common/ipc/cluster.ipc.ts index 41b0337e30..a7b13ba290 100644 --- a/src/common/ipc/cluster.ipc.ts +++ b/src/common/ipc/cluster.ipc.ts @@ -6,6 +6,6 @@ export const ClusterListNamespaceForbiddenChannel = "cluster:list-namespace-forb export type ListNamespaceForbiddenArgs = [clusterId: string]; -export function argArgsListNamespaceFordiddenArgs(args: unknown[]): args is ListNamespaceForbiddenArgs { +export function isListNamespaceForbiddenArgs(args: unknown[]): args is ListNamespaceForbiddenArgs { return args.length === 1 && typeof args[0] === "string"; } diff --git a/src/renderer/components/app.scss b/src/renderer/components/app.scss index 164fa97abf..e2ab1df907 100755 --- a/src/renderer/components/app.scss +++ b/src/renderer/components/app.scss @@ -50,8 +50,8 @@ color: white; } -:target { - color: $targetColor; +*:target { + color: $textColorAccent; } html { diff --git a/src/renderer/ipc/index.tsx b/src/renderer/ipc/index.tsx index 574d26459e..ccbeef4797 100644 --- a/src/renderer/ipc/index.tsx +++ b/src/renderer/ipc/index.tsx @@ -1,6 +1,6 @@ import React from "react"; import { ipcRenderer, IpcRendererEvent } from "electron"; -import { areArgsUpdateAvailableFromMain, UpdateAvailableChannel, onCorrect, UpdateAvailableFromMain, BackchannelArg, ClusterListNamespaceForbiddenChannel, argArgsListNamespaceFordiddenArgs, ListNamespaceForbiddenArgs } from "../../common/ipc"; +import { areArgsUpdateAvailableFromMain, UpdateAvailableChannel, onCorrect, UpdateAvailableFromMain, BackchannelArg, ClusterListNamespaceForbiddenChannel, isListNamespaceForbiddenArgs, ListNamespaceForbiddenArgs } from "../../common/ipc"; import { Notifications, notificationsStore } from "../components/notifications"; import { Button } from "../components/button"; import { isMac } from "../../common/vars"; @@ -78,7 +78,7 @@ function ListNamespacesForbiddenHandler(event: IpcRendererEvent, ...[clusterId]: Add Accessible Namespaces
Cluster {clusterStore.active.name} does not have permissions to list namespaces. Please add the namespaces you have access to.