Skip to content

Commit

Permalink
PLA-11315 fix(wab): Remove all instances of Link to a Prop
Browse files Browse the repository at this point in the history
Change-Id: If01b8c6a826c84e2e65707a0fb3ddf6bff9843cf
GitOrigin-RevId: 033ded83705f94af949f8b0c974dfc583407c94e
  • Loading branch information
sarahsga authored and actions-user committed Oct 18, 2024
1 parent daca72b commit c042d6b
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import { ImageAssetType } from "@/wab/shared/core/image-asset-type";
import { getTagAttrForImageAsset } from "@/wab/shared/core/image-assets";
import { mkParam } from "@/wab/shared/core/lang";
import { typographyCssProps } from "@/wab/shared/core/style-props";
import { getTplComponentsInSite } from "@/wab/shared/core/tpls";
import {
computeDefinedIndicator,
DefinedIndicatorType,
Expand Down Expand Up @@ -64,7 +65,6 @@ import { isCodeComponentSlot } from "@/wab/shared/SlotUtils";
import { unsetTplVariantableAttr } from "@/wab/shared/TplMgr";
import { $$$ } from "@/wab/shared/TplQuery";
import { ensureVariantSetting, isGlobalVariant } from "@/wab/shared/Variants";
import { getTplComponentsInSite } from "@/wab/shared/core/tpls";
import { Alert, Menu, Tooltip } from "antd";
import { observer } from "mobx-react";
import React from "react";
Expand Down Expand Up @@ -587,13 +587,7 @@ export function makeImageMenu({
}
};
push(
<Menu.SubMenu
title={
<span>
Link to a prop for component <code>{ownerComponent.name}</code>
</span>
}
>
<Menu.SubMenu title={<span>Allow external access</span>}>
{getRealParams(ownerComponent)
.filter((p) => p.type.name === "img")
.map((param) => (
Expand Down

0 comments on commit c042d6b

Please sign in to comment.