diff --git a/src/routes/planning/lists.ts b/src/routes/planning/lists.ts
index 06696f5c44..e652bfb2e2 100644
--- a/src/routes/planning/lists.ts
+++ b/src/routes/planning/lists.ts
@@ -559,6 +559,8 @@ export let ratings: [string, string, string, string][] = [
export function getColoursForRating(
rating: string | undefined,
): [string, string] {
- let ratingColours = ratings.find((ratingColour) => ratingColour[0] == rating) || ["", "", "white", "black"];
+ let ratingColours = ratings.find(
+ (ratingColour) => ratingColour[0] == rating,
+ ) || ["", "", "white", "black"];
return [ratingColours[2], ratingColours[3]];
}
diff --git a/src/routes/planning/report/+page.svelte b/src/routes/planning/report/+page.svelte
index 9f1c087abc..41b676e666 100644
--- a/src/routes/planning/report/+page.svelte
+++ b/src/routes/planning/report/+page.svelte
@@ -27,13 +27,12 @@
Relevant Policy & Guidance |
{#each criteria as criterion, idx}
- {@const [backgroundColor, color] = getColoursForRating($state.ratings[idx])}
+ {@const [backgroundColor, color] = getColoursForRating(
+ $state.ratings[idx],
+ )}
{idx + 1}. {criterion} |
-
+ |
{$state.ratings[idx]}
|
{$state.appraiserComments[idx]} |
diff --git a/src/routes/route_check/results_export/export.ts b/src/routes/route_check/results_export/export.ts
index 934ee87104..0699874541 100644
--- a/src/routes/route_check/results_export/export.ts
+++ b/src/routes/route_check/results_export/export.ts
@@ -158,11 +158,11 @@ function policyConflictLog(state: State, workbook: ExcelJS.Workbook) {
sheet.getCell("L" + (8 + i)).value = pc.notes;
}
- for(let i = 0; i <42; i++) {
+ for (let i = 0; i < 42; i++) {
sheet.getCell("F" + (8 + i)).dataValidation = {
- type: 'list',
+ type: "list",
allowBlank: true,
- formulae: ["'8.2 Lookups&Forumlae2'!$B$7:$B$12"]
+ formulae: ["'8.2 Lookups&Forumlae2'!$B$7:$B$12"],
};
}
}
@@ -181,11 +181,11 @@ function criticalIssueLog(state: State, workbook: ExcelJS.Workbook) {
sheet.getCell("L" + (8 + i)).value = ci.notes;
}
- for(let i = 0; i <42; i++) {
+ for (let i = 0; i < 42; i++) {
sheet.getCell("F" + (8 + i)).dataValidation = {
- type: 'list',
+ type: "list",
allowBlank: true,
- formulae: ["'8.2 Lookups&Forumlae2'!$B$16:$B$39"]
+ formulae: ["'8.2 Lookups&Forumlae2'!$B$16:$B$39"],
};
}
}