Translate notification title too

parent a3561fdf
......@@ -46,7 +46,7 @@ const app = new Vue({
window.axios.interceptors.response.use(null, function(error) {
if (error.response.status === 401) {
app.$notify.error({
title: 'Unauthorized',
title: app.$t('core.unauthorized'),
message: app.$t('core.unauthorized-access'),
});
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