mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix: choose language link for local dev (#9215)
@superset-ui/connection will add protocol and host to an "endpoint" call. `e.currentTarget.href` may return the full URL instead of the relative url.
This commit is contained in:
@@ -67,7 +67,7 @@ export default function setupApp() {
|
|||||||
) {
|
) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
SupersetClient.get({
|
SupersetClient.get({
|
||||||
endpoint: ev.currentTarget.href,
|
url: ev.currentTarget.href,
|
||||||
parseMethod: null,
|
parseMethod: null,
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|||||||
Reference in New Issue
Block a user