diff --git a/src/lib/ChangeLink.svelte b/src/lib/ChangeLink.svelte index fa00e7b..1111705 100644 --- a/src/lib/ChangeLink.svelte +++ b/src/lib/ChangeLink.svelte @@ -23,5 +23,9 @@ to="/org/{org.getPath()}/{id ? 'change' : 'changes'}/{id ?? 'new'}{role ? `?role=${role}` : ''}{process ? `?process=${process}` : ''}" - >{change ? change.what : 'Suggest a change...'}{change + ? change.what.length > 100 + ? `${change.what.substring(0, 100)}...` + : change.what + : 'Suggest a change...'}{/if}