Skip to content

Commit

Permalink
fix: save to notebook toast content in nextline
Browse files Browse the repository at this point in the history
Signed-off-by: Lin Wang <[email protected]>
  • Loading branch information
wanglam committed Dec 26, 2023
1 parent 1d63cb8 commit a13a03e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/components/notebook/notebook_name_modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ export const NotebookNameModal = ({ onClose, saveChat }: NotebookNameModalProps)
const notebookLink = `./observability-notebooks#/${notebookId}?view=view_both`;

toasts.addSuccess({
text: toMountPoint(
<p>
title: toMountPoint(
<>
This conversation was saved as{' '}
<EuiLink href={notebookLink} target="_blank">
{name}
</EuiLink>
.
</p>
</>
),
});
} catch (error) {
Expand Down

0 comments on commit a13a03e

Please sign in to comment.