Whoops thanks for catching that, test suite

This commit is contained in:
Rick Carlino 2017-11-15 09:02:07 -06:00
parent 42079d13c0
commit 9c0a2d4d6e

View file

@ -27,7 +27,7 @@ export function TestButton(p: TestBtnProps) {
} = p;
const isSynced = syncStatus === "synced";
const isSaved = !sequence.specialStatus;
const canTest = (isSynced && isSaved) && (autoSyncEnabled && !consistent);
const canTest = (isSynced && isSaved) && (!autoSyncEnabled || !consistent);
const className = canTest ? "orange" : "gray";
const clickHandler = () => (canTest) ?