Skip to content

Commit

Permalink
Add new dynamic component to add extra menu items to query control dr…
Browse files Browse the repository at this point in the history
…opdown.

Refs #1005.
  • Loading branch information
jezdez committed Oct 15, 2020
1 parent bd483d0 commit 11e5253
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import ShareAltOutlinedIcon from "@ant-design/icons/ShareAltOutlined";
import FileOutlinedIcon from "@ant-design/icons/FileOutlined";
import FileExcelOutlinedIcon from "@ant-design/icons/FileExcelOutlined";
import EllipsisOutlinedIcon from "@ant-design/icons/EllipsisOutlined";
import DynamicComponent from "@/components/DynamicComponent";

import QueryResultsLink from "./QueryResultsLink";

Expand Down Expand Up @@ -62,6 +63,12 @@ export default function QueryControlDropdown(props) {
<FileExcelOutlinedIcon /> Download as Excel File
</QueryResultsLink>
</Menu.Item>
<DynamicComponent
name="QueryControlDropdownExtra"
query={props.query}
queryResult={props.queryResult}
queryExecuting={props.queryExecuting}
/>
</Menu>
);

Expand Down

0 comments on commit 11e5253

Please sign in to comment.