π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(nc-gui): convert slug to lowercase before encoding
Ramesh Manee5e6757f6304
diff --git a/packages/nc-gui/utils/urlUtils.ts b/packages/nc-gui/utils/urlUtils.tsindex 1329d58606..8eed17ae10 100644--- a/packages/nc-gui/utils/urlUtils.ts+++ b/packages/nc-gui/utils/urlUtils.ts@@ -329,8 +329,8 @@ export function toReadableUrlSlug(parts: (string | undefined)[] = []): string {if (!part?.trim()) return ''return encodeURIComponent(- part.trim().replace(/\s+/g, '-'), // replace one or more spaces with a single dash- ).toLowerCase()+ part.trim().toLowerCase().replace(/\s+/g, '-'), // replace one or more spaces with a single dash+ )}).filter(Boolean) // remove empty parts.join('-') ?? ''