Skip to content

Commit

Permalink
fix: импорт post запрос на клиенте для админа
Browse files Browse the repository at this point in the history
  • Loading branch information
AkimFeopentov2003 committed Dec 9, 2024
1 parent 2a1bbc1 commit 686f043
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/src/components/message/UserSearchPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ export default {
clearAllCookies();
this.$router.push("/login");
}
if (error.response && error.response.status === 400) {
alert('Бд не пуста');
}
console.error("Ошибка сети:", error);
if (error.response && error.response.data.detail) {
this.errorMessage = error.response.data.detail;
Expand Down

0 comments on commit 686f043

Please sign in to comment.