mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-06 02:27:19 +00:00
fix: don't disable link previews in case summaries
This commit is contained in:
parent
631bba3d8e
commit
62da0a6e34
1 changed files with 0 additions and 2 deletions
|
@ -42,8 +42,6 @@ export async function getCaseSummary(
|
||||||
reason = reasonChunks[0] + "...";
|
reason = reasonChunks[0] + "...";
|
||||||
}
|
}
|
||||||
|
|
||||||
reason = disableLinkPreviews(reason);
|
|
||||||
|
|
||||||
const timestamp = moment.utc(theCase.created_at, DBDateFormat);
|
const timestamp = moment.utc(theCase.created_at, DBDateFormat);
|
||||||
const relativeTimeCutoff = convertDelayStringToMS(config.relative_time_cutoff)!;
|
const relativeTimeCutoff = convertDelayStringToMS(config.relative_time_cutoff)!;
|
||||||
const useRelativeTime = config.show_relative_times && Date.now() - timestamp.valueOf() < relativeTimeCutoff;
|
const useRelativeTime = config.show_relative_times && Date.now() - timestamp.valueOf() < relativeTimeCutoff;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue