mirror of
https://github.com/Mintplex-Labs/vector-admin.git
synced 2026-07-10 18:03:22 -04:00
fix diff check on test runs
This commit is contained in:
@@ -85,7 +85,7 @@ const Notification = {
|
||||
});
|
||||
return notifications;
|
||||
} catch (e) {
|
||||
console.error(e.message);
|
||||
console.error(e.message, e);
|
||||
return [];
|
||||
}
|
||||
},
|
||||
|
||||
@@ -370,8 +370,9 @@ function TextComp({
|
||||
const comparison = comparisons.find((comp) => comp.vectorId === key);
|
||||
if (!comparison) return false;
|
||||
return (
|
||||
(!!textContent && !!comparison) ||
|
||||
!!comparison.hasOwnProperty('text') ||
|
||||
!!textContent &&
|
||||
!!comparison &&
|
||||
!!comparison.hasOwnProperty('text') &&
|
||||
comparison.text !== textContent
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user