chore: 🤖 cast to boolean explicitly
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user