We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1a1998d + e7bfd23 commit 690e518Copy full SHA for 690e518
1 file changed
workspaces/ballerina/ballerina-visualizer/src/views/BI/DiagramWrapper/index.tsx
@@ -354,9 +354,9 @@ export function DiagramWrapper(param: DiagramWrapperProps) {
354
) : (
355
<TitleBar title={getTitle()} subtitleElement={getSubtitleElement()} actions={getActions()} />
356
)}
357
- {
358
- enableSequenceDiagram && !isAgent && !loadingDiagram ?
359
- (
+ {enableSequenceDiagram && !isAgent &&
+ (
+ !loadingDiagram ? (
360
<Switch
361
leftLabel="Flow"
362
rightLabel="Sequence"
@@ -389,6 +389,7 @@ export function DiagramWrapper(param: DiagramWrapperProps) {
389
}}
390
/>
391
)
392
+ )
393
}
394
{
395
showSequenceDiagram ? (
0 commit comments