Display the list of accounts
This commit is contained in:
@ -17,6 +17,13 @@ export class AccountsList {
|
||||
this.list.sort((a, b) => a.id - b.id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if accounts list is empty
|
||||
*/
|
||||
get isEmpty(): boolean {
|
||||
return this.list.length === 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a single account by its id
|
||||
*/
|
||||
|
Reference in New Issue
Block a user