mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +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();
|
||||
SupersetClient.get({
|
||||
endpoint: ev.currentTarget.href,
|
||||
url: ev.currentTarget.href,
|
||||
parseMethod: null,
|
||||
}).then(() => {
|
||||
location.reload();
|
||||
|
||||
Reference in New Issue
Block a user