Skip to content

Commit

Permalink
Add connection status to model panel
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdjohnson committed Nov 14, 2024
1 parent 056b91e commit 89528d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/features/settings/panels/model/ModelPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ const ModelPanel = observer(() => {
): SettingSectionItem<ConnectionViewModelTypes> => ({
id: connection.id,
label: connection.label,
subLabels: [connection.source.enabled ? 'Enabled' : 'Disabled'],
subLabels: [
connection.source.enabled ? 'Enabled' : 'Disabled',
connection.isConnected ? 'Connected' : 'Disconnected',
],
data: connection,
})

Expand Down

0 comments on commit 89528d9

Please sign in to comment.