π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: ui breaking
DarkPhoenix27040f49ada4ea0d
diff --git a/packages/nc-gui/utils/stringUtils.ts b/packages/nc-gui/utils/stringUtils.tsindex dde1ab7fcb..2d4a9846e8 100644--- a/packages/nc-gui/utils/stringUtils.ts+++ b/packages/nc-gui/utils/stringUtils.ts@@ -5,6 +5,10 @@ export function getHTMLEncodedText(htmlString: string) {}export const truncateText = (text: string, maxLength: number = 50) => {+ if (ncIsNullOrUndefined(text)) {+ return ''+ }+ text = `${text}`if (text.length <= maxLength) return textreturn `${text.substring(0, maxLength - 3)}...`}