Components/Cockpit: NotReady
Add a secondary button that takes the user to the `osbuild-composer.socket` services file inside the cockpit services plugin.
This commit is contained in:
parent
a27c300431
commit
b469775ef5
1 changed files with 14 additions and 0 deletions
|
|
@ -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>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue