Compare commits
2 Commits
c35ea78a50
...
6149d78d27
| Author | SHA1 | Date | |
|---|---|---|---|
| 6149d78d27 | |||
| 30328ff4bd |
@ -54,6 +54,7 @@
|
|||||||
style="aspect-ratio: {imgwidth} / {imgheight}; {containerstyle ??
|
style="aspect-ratio: {imgwidth} / {imgheight}; {containerstyle ??
|
||||||
''}; max-width: {imgwidth}px; max-height: {imgheight}px"
|
''}; max-width: {imgwidth}px; max-height: {imgheight}px"
|
||||||
>
|
>
|
||||||
|
<!-- TODO: If an image disappears and reappears, it will be loaded again... -->
|
||||||
{#if load}
|
{#if load}
|
||||||
{#await fetch_image_base64(src) then data}
|
{#await fetch_image_base64(src) then data}
|
||||||
<img
|
<img
|
||||||
|
|||||||
@ -27,6 +27,7 @@
|
|||||||
update_substitution_for_select_values["create"] = "";
|
update_substitution_for_select_values["create"] = "";
|
||||||
update_substitution_race_select_values["create"] = "";
|
update_substitution_race_select_values["create"] = "";
|
||||||
|
|
||||||
|
// TODO: Duplicated code in substitutions/+page.svelte
|
||||||
const driver_dropdown_options: DropdownOption[] = [];
|
const driver_dropdown_options: DropdownOption[] = [];
|
||||||
data.drivers.then((drivers: Driver[]) =>
|
data.drivers.then((drivers: Driver[]) =>
|
||||||
drivers.forEach((driver: Driver) => {
|
drivers.forEach((driver: Driver) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user