PLT-3958 Updated title for permalink error page (#5970)

Этот коммит содержится в:
Harrison Healey
2017-04-04 13:10:55 -04:00
коммит произвёл George Goldberg
родитель cbb6a30596
Коммит ac0c7e30ca
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@@ -211,7 +211,10 @@ export function emitPostFocusEvent(postId, onSuccess) {
link += 'town-square';
}
browserHistory.push('/error?message=' + encodeURIComponent(Utils.localizeMessage('permalink.error.access', 'Permalink belongs to a deleted message or to a channel to which you do not have access.')) + '&link=' + encodeURIComponent(link));
const message = encodeURIComponent(Utils.localizeMessage('permalink.error.access', 'Permalink belongs to a deleted message or to a channel to which you do not have access.'));
const title = encodeURIComponent(Utils.localizeMessage('permalink.error.title', 'Message Not Found'));
browserHistory.push('/error?message=' + message + '&title=' + title + '&link=' + encodeURIComponent(link));
}
);
}