feat(client): translation status banner (#41001)

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
This commit is contained in:
Kristofer Koishigawa
2021-02-09 16:56:18 +09:00
committed by GitHub
parent c93a8ee410
commit 3b0ebb3dcb
8 changed files with 110 additions and 9 deletions

View File

@@ -91,7 +91,7 @@ const noEmptyObjectValues = (obj, namespace = '') => {
emptyKeys.push(
noEmptyObjectValues(obj[key], namespace ? `${namespace}.${key}` : key)
);
} else if (!obj[key]) {
} else if (!obj[key] && typeof obj[key] !== 'boolean') {
emptyKeys.push(namespace ? `${namespace}.${key}` : key);
}
}