Integrate committee ballots with Voting
This commit is contained in:
@@ -377,7 +377,10 @@ function voteSummary(record: CommitteeRecord): string {
|
||||
}
|
||||
|
||||
function isProviderBallotReady(record: CommitteeRecord): boolean {
|
||||
return record.state === "open" && Boolean(String(record.attributes.provider_id ?? "").trim());
|
||||
return record.state === "open" && Boolean(
|
||||
String(record.attributes.voting_ballot_id ?? "").trim()
|
||||
|| String(record.attributes.provider_id ?? "").trim()
|
||||
);
|
||||
}
|
||||
|
||||
function statusTone(state: string): "active" | "inactive" | "warning" {
|
||||
|
||||
Reference in New Issue
Block a user