1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

Show User Agent in System->Tasks for externally triggered commands

This commit is contained in:
Taloth Saldono
2021-05-16 12:41:53 +02:00
parent 91fe47ef31
commit fe8f319f7b
7 changed files with 56 additions and 1 deletions
@@ -156,6 +156,7 @@ class QueuedTaskRow extends Component {
status,
duration,
message,
clientUserAgent,
longDateFormat,
timeFormat,
onCancelPress
@@ -191,7 +192,17 @@ class QueuedTaskRow extends Component {
</span>
</TableRowCell>
<TableRowCell>{commandName}</TableRowCell>
<TableRowCell>
<span className={styles.commandName}>
{commandName}
</span>
{
clientUserAgent &&
<span className={styles.userAgent} title="User-Agent provided by the app that called the API">
from: {clientUserAgent}
</span>
}
</TableRowCell>
<TableRowCell
className={styles.queued}