Front: Fixed broken ajax call on radio builder (#69)

merge-requests/154/head
Eliot Berriot 2018-02-24 17:22:40 +01:00
rodzic c6b965c8e2
commit d1df33544e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -4,6 +4,7 @@ Changelog
0.6 (Unreleased)
----------------
- Front: Fixed broken ajax call on radio builder (#69)
0.5 (2018-02-24)
----------------

Wyświetl plik

@ -114,7 +114,7 @@ export default {
settings.fields = f.autocomplete_fields
settings.minCharacters = 1
settings.apiSettings = {
url: config.BACKEND_URL + f.autocomplete + '?' + f.autocomplete_qs,
url: f.autocomplete + '?' + f.autocomplete_qs,
beforeXHR: function (xhrObject) {
xhrObject.setRequestHeader('Authorization', self.$store.getters['auth/header'])
return xhrObject