Add resource balance indication

This commit is contained in:
2020-04-19 13:25:13 +03:00
parent 8ccef8be75
commit 2bad0e1b5d
6 changed files with 75 additions and 7 deletions

View File

@ -37,6 +37,10 @@ export class ActionQueue {
this.flushState([]);
}
seeItems(): ActionList {
return this.getCommands();
}
private getCommands(): ActionList {
const serialized = this.storage.get(QUEUE_NAME);
if (!Array.isArray(serialized)) {