chore(deps): update module github.com/coreos/go-oidc to v3 - autoclosed #17

Closed
renovate-bot wants to merge 55 commits from renovate/github.com-coreos-go-oidc-3.x into master
2 changed files with 21 additions and 3 deletions
Showing only changes of commit 41df85c33b - Show all commits

View File

@ -17,7 +17,7 @@
proposal_idx[proposal.id] = new String(data.labels.length - 1);
}
req_responses = refreshResponses();
req_responses = question.getResponses();
req_responses.then((responses) => {
for (const res of responses) {
data.datasets[0].values[proposal_idx[res.value]] += 1;
@ -27,9 +27,27 @@
return req;
}
let req_proposals = refreshProposals();
let req_proposals = null;
let req_responses = null;
if (question.kind == "int") {
req_responses = question.getResponses();
req_responses.then((responses) => {
const proposal_idx = { };
for (const res of responses) {
if (proposal_idx[res.value]) {
data.datasets[0].values[proposal_idx[res.value]] += 1;
} else {
data.labels.push(res.value);
data.datasets[0].values.push(1);
proposal_idx[res.value] = new String(data.labels.length - 1);
}
}
});
} else {
req_proposals = refreshProposals();
}
let data = {
labels: [],
datasets: [

View File

@ -108,7 +108,7 @@
{/if}
</button>
{/if}
{#if question.kind == "ucq" || question.kind == "mcq"}
{#if question.kind == "ucq" || question.kind == "mcq" || question.kind == "int"}
<button
type="button"
class="btn btn-sm float-end mx-1"