Support new sftp event types

This commit is contained in:
DaneEveritt 2022-07-10 13:47:19 -04:00
parent 33ab762f5a
commit 8b59c1c1a8
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 14 additions and 4 deletions

View file

@ -69,7 +69,7 @@ export default ({ activity, children }: Props) => {
<TerminalIcon />
</Tooltip>
)}
{activity.properties.using_sftp && (
{activity.event.startsWith('server:sftp.') && (
<Tooltip placement={'top'} content={'Using SFTP'}>
<FolderOpenIcon />
</Tooltip>