Skip to content

Commit

Permalink
fix: copy the dataset name by clicking the copy button (#5142)
Browse files Browse the repository at this point in the history
This PR fixes the copy button behavior in the dataset list
  • Loading branch information
leiyre authored Jul 3, 2024
1 parent 4aa7387 commit b78b61b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ export default {
},
actions: [
{
name: "copy",
name: "copy-name",
icon: "copy",
title: "Copy url to clipboard",
title: "Copy name to clipboard",
tooltip: "Copied",
},
{
name: "copy",
name: "copy-url",
icon: "link",
title: "Copy url to clipboard",
tooltip: "Copied",
Expand Down Expand Up @@ -179,7 +179,7 @@ export default {
case "go-to-settings":
this.goToSetting(dataset);
break;
case "copy":
case "copy-url":
this.copyUrl(dataset);
break;
case "copy-name":
Expand Down

0 comments on commit b78b61b

Please sign in to comment.