mistercrunch commented on issue #8749: AddSliceContainer.jsx can't be 
translated by messages.json 
URL: 
https://github.com/apache/incubator-superset/issues/8749#issuecomment-563896776
 
 
   Good catch. Please send a PR. I think you could just:
   ```python
           return self.render_template(
               "superset/add_slice.html",
               bootstrap_data=json.dumps(
                   {
                       "datasources": sorted(datasources, key=lambda d: 
d["label"]),
                       "common": common_bootstrap_payload(),
                   }
               ),
           )
   ```
   
   At some point we'll be starting to move more towards a single page app, but 
in the meantime we should fix 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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to