Merge branch 'dev'

This commit is contained in:
Ash Monty 2022-07-06 14:36:07 +02:00
commit f9601953b5
No known key found for this signature in database
GPG Key ID: 740B7C88251D49B6

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) {