Skip to content

Commit

Permalink
webui: use WIP button for reporting to bugzilla
Browse files Browse the repository at this point in the history
For now use just Alert to be able to read the generated URL.
href link seems to be not working from the modal dialog.
  • Loading branch information
rvykydal committed Jul 26, 2023
1 parent 1ba13ba commit 755d4e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/webui/src/components/Error.jsx
Expand Up @@ -95,7 +95,10 @@ export const CriticalError = ({ exception, isBootIso, reportLinkURL }) => {
{reportLinkURL &&
<TextContent>
<Text component={TextVariants.p}>
{cockpit.format("Report: $0", reportURL)}
{cockpit.format("Report: ")}
<Button variant="link" isInline href={reportURL} onClick={() => alert(reportURL)}>
{_("Open Bugzilla ticket")}
</Button>
</Text>
</TextContent>}
</Modal>
Expand Down

0 comments on commit 755d4e0

Please sign in to comment.