WS Tool fixes: cURL modal, Clio Only

This commit is contained in:
mDuo13
2025-09-09 13:35:57 -07:00
parent f31fb25420
commit c68c9f975f
9 changed files with 99 additions and 69 deletions

View File

@@ -23,6 +23,7 @@ import { CommandGroup, CommandMethod } from './components/websocket-api/types';
import commandList from "./components/websocket-api/data/command-list.json";
import connections from "./components/websocket-api/data/connections.json";
import XRPLoader from '../../@theme/components/XRPLoader';
import { ClioOnlyNotice } from './components/websocket-api/ClioOnly';
export const frontmatter = {
seo: {
@@ -208,10 +209,12 @@ export function WebsocketApiTool() {
{currentMethod.description && (
<p
className="blurb"
dangerouslySetInnerHTML={{
__html: currentMethod.description,
}}
/>
>
{currentMethod.description}
{currentMethod.clio_only ?
<ClioOnlyNotice /> : ""
}
</p>
)}
{currentMethod.link && (
<Link