feat: docker add to homarr (#1825)

This commit is contained in:
Manuel authored and GitHub committed 2025-01-06 19:37:18 +01:00
1 parent be4e75321a
commit 64cc078b09
8 files changed
+161 -7

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@ import type { Database } from "@homarr/db";
import { like } from "@homarr/db";
import { icons } from "@homarr/db/schema";
export const getIconForNameAsync = async (db: Database, name: string) => {
return await db.query.icons.findFirst({
export const getIconForName = (db: Database, name: string) => {
return db.query.icons.findFirst({
where: like(icons.name, `%${name}%`),
});
};