mirror of
https://github.com/streamwall/streamwall.git
synced 2026-04-03 20:32:08 -04:00
@@ -1,5 +1,6 @@
|
|||||||
import range from 'lodash/range'
|
import range from 'lodash/range'
|
||||||
import sortBy from 'lodash/sortBy'
|
import sortBy from 'lodash/sortBy'
|
||||||
|
import truncate from 'lodash/truncate'
|
||||||
import ReconnectingWebSocket from 'reconnecting-websocket'
|
import ReconnectingWebSocket from 'reconnecting-websocket'
|
||||||
import { h, Fragment, render } from 'preact'
|
import { h, Fragment, render } from 'preact'
|
||||||
import { useEffect, useState, useCallback, useRef } from 'preact/hooks'
|
import { useEffect, useState, useCallback, useRef } from 'preact/hooks'
|
||||||
@@ -353,7 +354,7 @@ function StreamLine({
|
|||||||
<strong>{source}</strong>
|
<strong>{source}</strong>
|
||||||
{location}
|
{location}
|
||||||
<a href={link} target="_blank">
|
<a href={link} target="_blank">
|
||||||
{title || link}
|
{truncate(title || link, { length: 55 })}
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
{notes}
|
{notes}
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user