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");
|
||||
|
||||
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;
|
||||
if (missingHostCount > 0) {
|
||||
throw new Error("Some selected Docker label apps are missing host metadata");
|
||||
|
||||
@@ -175,7 +175,6 @@ export type HomarrDocumentationPath =
|
||||
| "/docs/integrations/deluge"
|
||||
| "/docs/integrations/docker-hub"
|
||||
| "/docs/integrations/docker"
|
||||
| "/docs/integrations/docker-labels"
|
||||
| "/docs/integrations/emby"
|
||||
| "/docs/integrations/github-containerregistry"
|
||||
| "/docs/integrations/github"
|
||||
|
||||
@@ -350,8 +350,7 @@ const buildAppItemOptions = (
|
||||
descriptionDisplayMode: "hidden",
|
||||
layout: "column",
|
||||
pingEnabled:
|
||||
!(options.forceDisableStatus ?? false) &&
|
||||
(Boolean(service.pingUrl) || (options.enableStatusByDefault ?? true)),
|
||||
!(options.forceDisableStatus ?? false) && (Boolean(service.pingUrl) || (options.enableStatusByDefault ?? true)),
|
||||
});
|
||||
|
||||
const findOrCreateCategorySection = (
|
||||
|
||||
Reference in new issue
Block a user