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/10/07 07:16:54 UTC

[GitHub] [superset] villebro commented on a diff in pull request #21319: feat(embedded-dashboard): Share Switchboard State for Sending Events from Plugins

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


##########
superset-frontend/packages/superset-ui-switchboard/src/switchboard.ts:
##########
@@ -90,7 +90,7 @@ function isError(message: Message): message is ErrorMessage {
 export class Switchboard {
   port: MessagePort;
 
-  name: string;
+  name = '';

Review Comment:
   Is this change needed? I feel like the previous one was cleaner.



-- 
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