Lib: Read disable_inputs from modalStore meta for driver-/race-/substitution-/team-card
This commit is contained in:
@ -50,6 +50,7 @@
|
|||||||
team_select_value = meta.team_select_value;
|
team_select_value = meta.team_select_value;
|
||||||
team_select_options = meta.team_select_options;
|
team_select_options = meta.team_select_options;
|
||||||
active_value = meta.active_value;
|
active_value = meta.active_value;
|
||||||
|
disable_inputs = meta.disable_inputs;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -31,6 +31,7 @@
|
|||||||
const meta = $modalStore[0].meta;
|
const meta = $modalStore[0].meta;
|
||||||
|
|
||||||
race = meta.race;
|
race = meta.race;
|
||||||
|
disable_inputs = meta.disable_inputs;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dates have to be formatted to datetime-local format
|
// Dates have to be formatted to datetime-local format
|
||||||
|
|||||||
@ -61,6 +61,7 @@
|
|||||||
race_select_value = meta.race_select_value;
|
race_select_value = meta.race_select_value;
|
||||||
driver_select_options = meta.driver_select_options;
|
driver_select_options = meta.driver_select_options;
|
||||||
race_select_options = meta.race_select_options;
|
race_select_options = meta.race_select_options;
|
||||||
|
disable_inputs = meta.disable_inputs;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This action is used on the <Dropdown> element.
|
// This action is used on the <Dropdown> element.
|
||||||
|
|||||||
@ -38,6 +38,7 @@
|
|||||||
const meta = $modalStore[0].meta;
|
const meta = $modalStore[0].meta;
|
||||||
|
|
||||||
team = meta.team;
|
team = meta.team;
|
||||||
|
disable_inputs = meta.disable_inputs;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user