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:
parent
969bc87431
commit
b1d83ba8d6
|
|
@ -67,7 +67,7 @@ export default function setupApp() {
|
|||
) {
|
||||
ev.preventDefault();
|
||||
SupersetClient.get({
|
||||
endpoint: ev.currentTarget.href,
|
||||
url: ev.currentTarget.href,
|
||||
parseMethod: null,
|
||||
}).then(() => {
|
||||
location.reload();
|
||||
|
|
|
|||
Loading…
Reference in New Issue