Skip to content

Commit 71cd1c8

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
Fix canonical OCI docs icon generation after staging merge
1 parent 868a76c commit 71cd1c8

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎apps/sim/components/icons.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9500,7 +9500,7 @@ export function NewRelicIcon(props: SVGProps<SVGSVGElement>) {
95009500
)
95019501
}
95029502

9503-
export function NetSuiteIcon(props: SVGProps<SVGSVGElement>) {
9503+
export function OracleIcon(props: SVGProps<SVGSVGElement>) {
95049504
return (
95059505
<svg {...props} viewBox='0 0 93.9 59.4' xmlns='http://www.w3.org/2000/svg'>
95069506
<path
@@ -9511,8 +9511,8 @@ export function NetSuiteIcon(props: SVGProps<SVGSVGElement>) {
95119511
)
95129512
}
95139513

9514-
export function OracleIcon(props: SVGProps<SVGSVGElement>) {
9515-
return <NetSuiteIcon {...props} />
9514+
export function NetSuiteIcon(props: SVGProps<SVGSVGElement>) {
9515+
return <OracleIcon {...props} />
95169516
}
95179517

95189518
export function WizaIcon(props: SVGProps<SVGSVGElement>) {

‎scripts/generate-docs.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,10 @@ export async function generateIconMappings(): Promise<{
639639
try {
640640
console.log('Generating icon mapping from block definitions...')
641641

642-
const docs: Record<string, IconRef> = {}
642+
// OCI credential setup has no product block from which docs can derive its family icon.
643+
const docs: Record<string, IconRef> = {
644+
oci: { name: 'OracleIcon', source: '@/components/icons' },
645+
}
643646
const visible: Record<string, IconRef> = {}
644647
const coreBlockTypes = new Set<string>()
645648
const blockFiles = (await sourceGlob(`${BLOCKS_PATH}/*.ts`)).sort()

0 commit comments

Comments
 (0)