A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix(boards): app select modal images rendering issue (#3218)
Meier Lukas85e98d2b603a
diff --git a/packages/modals-collection/src/apps/app-select-modal.tsx b/packages/modals-collection/src/apps/app-select-modal.tsxindex f6d7f2f50..f09f71d71 100644--- a/packages/modals-collection/src/apps/app-select-modal.tsx+++ b/packages/modals-collection/src/apps/app-select-modal.tsx@@ -1,5 +1,4 @@import { useMemo, useState } from "react";-import Image from "next/image";import { Button, Card, Center, Grid, Input, Stack, Text } from "@mantine/core";import { IconPlus, IconSearch } from "@tabler/icons-react";@@ -23,7 +22,7 @@ export const AppSelectModal = createModal<AppSelectModalProps>(({ actions, inner() =>apps.filter((app) => app.name.toLowerCase().includes(search.toLowerCase()))- .sort((a, b) => a.name.localeCompare(b.name)),+ .sort((appA, appB) => appA.name.localeCompare(appB.name)),[apps, search],);@@ -88,7 +87,7 @@ export const AppSelectModal = createModal<AppSelectModalProps>(({ actions, inner<Stack justify="space-between" h="100%"><Stack gap="xs"><Center>- <Image src={app.iconUrl || ""} alt={app.name} width={24} height={24} />+ <img src={app.iconUrl} alt={app.name} width={24} height={24} /></Center><Text lh={1.2} style={{ whiteSpace: "normal" }} ta="center">{app.name}