style: auto-fix lint and format
This commit is contained in:
1 parent
2dcd81676c
commit
be3d522659
3 files changed
+2
-4
No files matched your search
@@ -159,7 +159,7 @@ export const InitIntegrations = () => {
|
|||||||
const imageApps = selectedApps.filter((app) => app.source !== "label");
|
const imageApps = selectedApps.filter((app) => app.source !== "label");
|
||||||
|
|
||||||
if (labelApps.length > 0) {
|
if (labelApps.length > 0) {
|
||||||
const labelAppsWithHost = labelApps.filter((app): app is (typeof app & { host: string }) => Boolean(app.host));
|
const labelAppsWithHost = labelApps.filter((app): app is typeof app & { host: string } => Boolean(app.host));
|
||||||
const missingHostCount = labelApps.length - labelAppsWithHost.length;
|
const missingHostCount = labelApps.length - labelAppsWithHost.length;
|
||||||
if (missingHostCount > 0) {
|
if (missingHostCount > 0) {
|
||||||
throw new Error("Some selected Docker label apps are missing host metadata");
|
throw new Error("Some selected Docker label apps are missing host metadata");
|
||||||
|
|||||||
@@ -175,7 +175,6 @@ export type HomarrDocumentationPath =
|
|||||||
| "/docs/integrations/deluge"
|
| "/docs/integrations/deluge"
|
||||||
| "/docs/integrations/docker-hub"
|
| "/docs/integrations/docker-hub"
|
||||||
| "/docs/integrations/docker"
|
| "/docs/integrations/docker"
|
||||||
| "/docs/integrations/docker-labels"
|
|
||||||
| "/docs/integrations/emby"
|
| "/docs/integrations/emby"
|
||||||
| "/docs/integrations/github-containerregistry"
|
| "/docs/integrations/github-containerregistry"
|
||||||
| "/docs/integrations/github"
|
| "/docs/integrations/github"
|
||||||
|
|||||||
@@ -350,8 +350,7 @@ const buildAppItemOptions = (
|
|||||||
descriptionDisplayMode: "hidden",
|
descriptionDisplayMode: "hidden",
|
||||||
layout: "column",
|
layout: "column",
|
||||||
pingEnabled:
|
pingEnabled:
|
||||||
!(options.forceDisableStatus ?? false) &&
|
!(options.forceDisableStatus ?? false) && (Boolean(service.pingUrl) || (options.enableStatusByDefault ?? true)),
|
||||||
(Boolean(service.pingUrl) || (options.enableStatusByDefault ?? true)),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const findOrCreateCategorySection = (
|
const findOrCreateCategorySection = (
|
||||||
|
|||||||
Reference in new issue
Block a user