Merge branch 'dev'

This commit is contained in:
Ash Monty
2022-07-06 14:36:07 +02:00

View File

@@ -9,7 +9,19 @@ let cache;
async function getTrelloCache() {
const available = await trelloAPIAvailable();
if (!available) {
return cache;
return cache || {
update_time: 0,
sections: [{
title: 'Upstream API error',
id: '',
percentage_complete: '',
progress: {
not_started: [ 'Trello API unavailable' ],
started: [],
completed: []
}
}],
};
}
if (!cache) {