Skip to content

Commit

Permalink
Components/Cockpit: NotReady
Browse files Browse the repository at this point in the history
Add a secondary button that takes the user to the `osbuild-composer.socket`
services file inside the cockpit services plugin.
  • Loading branch information
kingsleyzissou authored and croissanne committed Feb 4, 2025
1 parent a27c300 commit b469775
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Components/Cockpit/NotReady.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ export const NotReady = ({ enabled }: { enabled: boolean }) => {
Start socket
</Button>
</EmptyStateActions>
<EmptyStateActions>
<Button
variant="link"
onClick={(event) => {
event.preventDefault();
cockpit.jump(
'/system/services#/osbuild-composer.socket',
cockpit.transport.host
);
}}
>
More Info
</Button>
</EmptyStateActions>
</EmptyStateFooter>
</EmptyState>
);
Expand Down

0 comments on commit b469775

Please sign in to comment.