I'm trying to use the window.location.assign to change my project page, but it's not working.
The page I want to change is in the same folder.
My Code:
filterFunc (){
window.location.assign("/teste");
}
Failed to load https://console.bluemix.net/analytics/bmaid: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.
index.js:2178 +++DBDM-ERROR > getAnonymousID > Ajax call error. (Execution time: 309ms):
In the IDE it does not error, only on the page after clicking the button.
If someone has an idea of how to do it? Switch pages by clicking the button!
window.location.href