chore: 🤖 cast to boolean explicitly

This commit is contained in:
Randall Morey committed 2021-03-30 10:34:15 -04:00
1 parent 29f21e0dfe
commit f279ac44ca
1 file changed
+1 -1
@@ -8,6 +8,6 @@ export default class ScopesScopeAuthMethodsIndexController extends Controller {
* @type {boolean}
*/
get hasPrimaryAuthMethod() {
return this.scopeModel.primary_auth_method_id;
return Boolean(this.scopeModel.primary_auth_method_id);
}
}