Bring checklist indicator back
This commit is contained in:
@@ -70,6 +70,11 @@ function appProgressMessage(app) {
|
||||
return app.message || (app.error ? app.error.message : '');
|
||||
}
|
||||
|
||||
function pendingChecklistItems(app) {
|
||||
if (!app.checklist) return 0;
|
||||
return Object.keys(app.checklist).filter(function (key) { return !app.checklist[key].acknowledged; }).length;
|
||||
}
|
||||
|
||||
function create() {
|
||||
const accessToken = localStorage.token;
|
||||
|
||||
@@ -458,4 +463,5 @@ export default {
|
||||
installationStateLabel,
|
||||
installationActive,
|
||||
appProgressMessage,
|
||||
pendingChecklistItems,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user