minor frontend changes to discard responses if route changed

This commit is contained in:
abdulmohsen
2024-08-02 21:14:40 +03:00
parent 8d0746f1f2
commit bf2d822f50
26 changed files with 217 additions and 94 deletions

View File

@@ -122,6 +122,10 @@ const loadContent = async () => {
}
}
if (useRoute().name !== 'backend-backend-libraries') {
return
}
if (200 !== response.status) {
notification('error', 'Error', `${json.error.code}: ${json.error.message}`)
return