Skip to content

Commit

Permalink
Handle windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
hetunandu committed Sep 12, 2024
1 parent d61285c commit 5c169a3
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";
import { IDEToolbar } from "IDE";
import { Button, Tooltip } from "@appsmith/ads";
import { modText } from "../../utils/helpers";

interface PluginActionToolbarProps {
runOptions?: React.ReactNode;
Expand All @@ -13,7 +14,11 @@ const PluginActionToolbar = (props: PluginActionToolbarProps) => {
<IDEToolbar.Left>{props.children}</IDEToolbar.Left>
<IDEToolbar.Right>
{props.runOptions}
<Tooltip content={"⌘ + ⏎"} placement="topRight" showArrow={false}>
<Tooltip
content={modText() + " ⏎"}
placement="topRight"
showArrow={false}
>
<Button kind="primary" size="sm">
Run
</Button>
Expand Down

0 comments on commit 5c169a3

Please sign in to comment.