Lint: object-curly-spacing (error) (#4198)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-01 08:45:45 -04:00
1 parent 0759b80435
commit 41863e87ce
89 files changed
+230 -216

No files matched your search

@@ -52,7 +52,7 @@ export class CatalogEntityStore extends ItemStore<CatalogEntityItem<CatalogEntit
watch() {
return disposer(
reaction(() => this.entities, () => this.loadAll()),
reaction(() => this.activeCategory, () => this.loadAll(), { delay: 100}),
reaction(() => this.activeCategory, () => this.loadAll(), { delay: 100 }),
);
}
+2 -2
View File
@@ -109,7 +109,7 @@ export class Catalog extends React.Component<Props> {
console.error(error);
Notifications.error(<p>Unknown category: {routeTab}</p>);
}
}, {fireImmediately: true}),
}, { fireImmediately: true }),
]);
// If active category is filtered out, automatically switch to the first category
@@ -169,7 +169,7 @@ export class Catalog extends React.Component<Props> {
const activeCategory = this.categories.find(category => category.getId() === tabId);
if (activeCategory) {
navigate(catalogURL({ params: {group: activeCategory.spec.group, kind: activeCategory.spec.names.kind }}));
navigate(catalogURL({ params: { group: activeCategory.spec.group, kind: activeCategory.spec.names.kind }}));
} else {
navigate(catalogURL({ params: { group: browseCatalogTab }}));
}