diff --git a/src/app/dashboard/short.ts b/src/app/dashboard/short.ts index 0a8e460..036a9f5 100644 --- a/src/app/dashboard/short.ts +++ b/src/app/dashboard/short.ts @@ -8,6 +8,9 @@ export class ShortPipe implements PipeTransform { if(value === null){ value = ''; } - return value.substr(0, 25) + ' ...'; + if (value.length > 25) { + return value.substr(0, 25) + ' ...'; + } + return value; } } \ No newline at end of file -- libgit2 0.21.2