You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/04/19 17:57:25 UTC

[GitHub] [superset] villebro commented on a diff in pull request #19772: fix(dashboard): copy permalink to dashboard chart

villebro commented on code in PR #19772:
URL: https://github.com/apache/superset/pull/19772#discussion_r853345097


##########
superset-frontend/src/dashboard/components/menu/ShareMenuItems/index.tsx:
##########
@@ -49,23 +45,17 @@ const ShareMenuItems = (props: ShareMenuItemProps) => {
     addDangerToast,
     addSuccessToast,
     dashboardId,
-    formData,
+    hash,

Review Comment:
   I would have personally gone with `anchor`, but
   1. the previous implementation used the term `hash`
   2. I found references to `hash` elsewhere, too: https://www.w3schools.com/jsref/prop_anchor_hash.asp
   
   So I went with `hash`. Since it's already in the schema, I think it might be a good idea to leave it like that, but I'm happy to change it if you feel even remotely strongly about this.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org