fix: handle specific error status in fetchWeekData function
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2025-04-30 09:17:09 +02:00
parent 2515c0d926
commit 3ab856098e
1 changed files with 2 additions and 1 deletions

View File

@ -296,8 +296,9 @@ const fetchWeekData = async () => {
state.value = mail?.state;
reason.value = mail?.reason;
canResend.value = !!countData.count;
} catch {
} catch (error) {
state.value = null;
if (error?.status != 403) throw error;
}
};