diff --git a/frontend/src/__apps/painel/main.js b/frontend/src/__apps/painel/main.js index 9c9b4633f..b06d64b5e 100644 --- a/frontend/src/__apps/painel/main.js +++ b/frontend/src/__apps/painel/main.js @@ -89,8 +89,9 @@ const v = new Vue({ // eslint-disable-line return texto }, converterUrl (url) { - url = url.slice(-4) - url = '/painel/' + url + '/dados' + url = url.slice(-(url.length - url.lastIndexOf('/'))) + url = '/painel' + url + '/dados' + console.log(url) return url }, fetchData () {