Skip to content

Commit

Permalink
[bug] The Add New button in New Integration popup does not match the …
Browse files Browse the repository at this point in the history
…Studio palette

Change-Id: Iae2f04c67a73b8ec2dd7eb99155b4f815c2c79ac
GitOrigin-RevId: f8e0c3ba624b3efcfcfc187a7be017de99bb4891
  • Loading branch information
sarahsga authored and Copybara committed Jan 26, 2024
1 parent c82cdfd commit 436064a
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import Button from "@/wab/client/components/widgets/Button";
import Select from "@/wab/client/components/widgets/Select";
import { Textbox } from "@/wab/client/components/widgets/Textbox";
import { useApi } from "@/wab/client/contexts/AppContexts";
import PlusIcon from "@/wab/client/plasmic/plasmic_kit/PlasmicIcon__Plus";
import { ensure, notNil } from "@/wab/common";
import GLogo from "@/wab/commons/images/g-logo.png";
import { RequiredSubKeys } from "@/wab/commons/types";
Expand Down Expand Up @@ -987,11 +986,7 @@ function StringDictEditor(props: {
return (
<ListBox
appendPrepend="append"
addNode={
<div style={{ color: "blue" }}>
<PlusIcon /> Add new
</div>
}
addNode={<Button type="link">+ Add New</Button>}
onAdd={() => {
setCurrentValues([...currentValues, { key: "", value: "" }]);
}}
Expand Down

0 comments on commit 436064a

Please sign in to comment.