Skip to content

Commit

Permalink
Formating
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Jul 14, 2024
1 parent c5c942e commit cb920c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
const default_value = nullable ? null : selectedValues[0];
$: {
$value = multiple ? selectedValues : selectedValues[0] ?? default_value;
$value = multiple ? selectedValues : (selectedValues[0] ?? default_value);
handleSelectChange();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
export let isScored: boolean;
export let max_score: number;
const leadResult = Object.hasOwn(m, resultI18n) ? m[resultI18n]() : m.notAssessed() ?? '';
const lead = Object.hasOwn(m, statusI18n) ? m[statusI18n]() : m.notAssessed() ?? '';
const leadResult = Object.hasOwn(m, resultI18n) ? m[resultI18n]() : (m.notAssessed() ?? '');
const lead = Object.hasOwn(m, statusI18n) ? m[statusI18n]() : (m.notAssessed() ?? '');
$: classesText = resultColor == '#000000' ? 'text-white' : '';
</script>
Expand Down

0 comments on commit cb920c0

Please sign in to comment.