mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 00:57:15 +00:00
adding linted files and nvmrc -- will trigger precommit failures
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
ca80ab3b9e
commit
3f87db2eea
65 changed files with 1307 additions and 1137 deletions
|
|
@ -1,6 +1,6 @@
|
|||
export function truncateText(
|
||||
text: string | null | undefined,
|
||||
maxLength: number = 50,
|
||||
maxLength: number = 50
|
||||
): string {
|
||||
if (!text) return "N/A";
|
||||
if (text.length <= maxLength) return text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue