Fixed URL parsing issue in app builds

This commit is contained in:
frikky
2021-08-02 14:55:52 +02:00
parent 542303a766
commit c75975d7bd
6 changed files with 31 additions and 23 deletions
+1 -1
View File
@@ -84,10 +84,10 @@ const Header = props => {
return response.json();
}).then(function(responseJson) {
if (responseJson.success !== undefined && responseJson.success) {
alert.success("Successfully changed active organization - refreshing!")
setTimeout(() => {
window.location.reload()
}, 2000)
alert.success("Successfully changed active organization - refreshing!")
} else {
alert.error("Failed changing org: ", responseJson.reason)
}