Skip to content

Commit

Permalink
feat(pipeline-builder): copy & paste full reference with ${} instead …
Browse files Browse the repository at this point in the history
…of path only (#967)

Because

- copy & paste full reference with ${} instead of path only

This commit

- copy & paste full reference with ${} instead of path only
  • Loading branch information
EiffelFly committed Feb 15, 2024
1 parent a96bf9f commit 231ac2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@instill-ai/toolkit",
"version": "0.80.4-rc.13",
"version": "0.80.4-rc.14",
"description": "Instill AI's frontend toolkit",
"repository": "https://github.com/instill-ai/design-system.git",
"bugs": "https://github.com/instill-ai/design-system/issues",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/src/components/ReferenceHintTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const ReferenceHintTagLabel = ({

e.stopPropagation();
e.preventDefault();
await navigator.clipboard.writeText(label);
await navigator.clipboard.writeText("${" + label + "}");
setCopied(true);
setOpen(true);
setTimeout(() => {
Expand Down

0 comments on commit 231ac2f

Please sign in to comment.