Compare commits
2 Commits
cd3f8f7f71
...
77f373d593
| Author | SHA1 | Date | |
|---|---|---|---|
| 77f373d593 | |||
| 29eb59a983 |
@ -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>
|
||||||
|
|
||||||
|
|||||||
@ -121,6 +121,7 @@
|
|||||||
component: "teamCard",
|
component: "teamCard",
|
||||||
meta: {
|
meta: {
|
||||||
team: team,
|
team: team,
|
||||||
|
disable_inputs: !data.admin,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -167,6 +168,7 @@
|
|||||||
team_select_value: update_driver_team_select_values[driver.id],
|
team_select_value: update_driver_team_select_values[driver.id],
|
||||||
team_select_options: team_dropdown_options,
|
team_select_options: team_dropdown_options,
|
||||||
active_value: update_driver_active_values[driver.id],
|
active_value: update_driver_active_values[driver.id],
|
||||||
|
disable_inputs: !data.admin,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -212,6 +214,7 @@
|
|||||||
component: "raceCard",
|
component: "raceCard",
|
||||||
meta: {
|
meta: {
|
||||||
race: race,
|
race: race,
|
||||||
|
disable_inputs: !data.admin,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -256,6 +259,7 @@
|
|||||||
race_select_value: update_substitution_race_select_values[substitution.id],
|
race_select_value: update_substitution_race_select_values[substitution.id],
|
||||||
driver_select_options: driver_dropdown_options,
|
driver_select_options: driver_dropdown_options,
|
||||||
race_select_options: race_dropdown_options,
|
race_select_options: race_dropdown_options,
|
||||||
|
disable_inputs: !data.admin,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user