Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2021-02-01 08:15:48 +02:00
1 parent d007021619
commit debdabb617
1 file changed
-1
@@ -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) {