Translate notification title too

parent a3561fdf
...@@ -46,7 +46,7 @@ const app = new Vue({ ...@@ -46,7 +46,7 @@ const app = new Vue({
window.axios.interceptors.response.use(null, function(error) { window.axios.interceptors.response.use(null, function(error) {
if (error.response.status === 401) { if (error.response.status === 401) {
app.$notify.error({ app.$notify.error({
title: 'Unauthorized', title: app.$t('core.unauthorized'),
message: app.$t('core.unauthorized-access'), message: app.$t('core.unauthorized-access'),
}); });
window.location = route('dashboard.index') window.location = route('dashboard.index')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment