From 686f0439d8be343f93db266d909886c75b70dce3 Mon Sep 17 00:00:00 2001 From: AkimFeopentov2003 Date: Mon, 9 Dec 2024 22:12:31 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=B8=D0=BC=D0=BF=D0=BE=D1=80=D1=82=20p?= =?UTF-8?q?ost=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D0=BA=D0=BB=D0=B8=D0=B5=D0=BD=D1=82=D0=B5=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D0=B0=D0=B4=D0=BC=D0=B8=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/src/components/message/UserSearchPage.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/src/components/message/UserSearchPage.vue b/frontend/src/src/components/message/UserSearchPage.vue index 9d2648d..dc94fb8 100644 --- a/frontend/src/src/components/message/UserSearchPage.vue +++ b/frontend/src/src/components/message/UserSearchPage.vue @@ -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;