cowbell/splittypie

View on GitHub
app/components/user-balance-list.js

Summary

Maintainability
A
0 mins
Test Coverage
import { sort, notEmpty } from "@ember/object/computed";
import Component from "@ember/component";

export default Component.extend({
    anyUsers: notEmpty("users"),

    usersSorting: ["balance:desc"], // eslint-disable-line
    sortedUsers: sort("users", "usersSorting"),
});