Lint: comma-spacing (error) & comma-dangle (error) (#4200)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-02 17:38:20 -04:00
1 parent 02e77afcd1
commit c6dce043a7
406 files changed
+1590 -1580

No files matched your search

@@ -50,7 +50,7 @@ export class CommandContainer extends React.Component<CommandContainerProps> {
private runCommand(command: CommandRegistration) {
command.action({
entity: catalogEntityRegistry.activeEntity
entity: catalogEntityRegistry.activeEntity,
});
}
@@ -50,7 +50,7 @@ export class CommandDialog extends React.Component {
const registry = CommandRegistry.getInstance();
const context = {
entity: this.activeEntity
entity: this.activeEntity,
};
return registry.getItems().filter((command) => {
@@ -86,13 +86,13 @@ export class CommandDialog extends React.Component {
if (command.scope === "global") {
command.action({
entity: this.activeEntity
entity: this.activeEntity,
});
} else if(this.activeEntity) {
navigate(clusterViewURL({
params: {
clusterId: this.activeEntity.metadata.uid
}
clusterId: this.activeEntity.metadata.uid,
},
}));
broadcastMessage(`command-palette:run-action:${this.activeEntity.metadata.uid}`, command.id);
}