LP1821382 Angular boolean yes/no display component
[evergreen-equinox.git] / Open-ILS / src / eg2 / src / app / core / format.service.ts
index 8108eec..d2b2ce5 100644 (file)
@@ -119,7 +119,8 @@ export class FormatService {
 
             case 'bool':
                 // Slightly better than a bare 't' or 'f'.
-                // Should probably add a global true/false string.
+                // Note the caller is better off using an <eg-bool/> for
+                // boolean display.
                 return Boolean(
                     value === 't' || value === 1 ||
                     value === '1' || value === true