mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
d007021619
commit
debdabb617
@ -66,7 +66,6 @@ export class CommandContainer extends React.Component<{cluster?: Cluster}> {
|
|||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
if (this.props.cluster) {
|
if (this.props.cluster) {
|
||||||
subscribeToBroadcast(`command-palette:run-action:${this.props.cluster.id}`, (event, commandId: string) => {
|
subscribeToBroadcast(`command-palette:run-action:${this.props.cluster.id}`, (event, commandId: string) => {
|
||||||
console.log("run-action", commandId);
|
|
||||||
const command = this.findCommandById(commandId);
|
const command = this.findCommandById(commandId);
|
||||||
|
|
||||||
if (command) {
|
if (command) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user