mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
fixed confusing naming of letterOption
This commit is contained in:
@@ -15,7 +15,7 @@ interface IProps extends IDocProps {
|
||||
}
|
||||
|
||||
export default function LetterOptions(props: IProps) {
|
||||
const templateTypeOptions = [
|
||||
const letterOptionTypes = [
|
||||
{
|
||||
value: 'brief-fam',
|
||||
name: 'Familie',
|
||||
@@ -38,11 +38,11 @@ export default function LetterOptions(props: IProps) {
|
||||
<div className="grid grid-cols-6 gap-6 px-4 py-5 bg-white sm:p-6">
|
||||
<div className="col-span-3">
|
||||
<Select
|
||||
name="template"
|
||||
name="letterOption"
|
||||
text="Vorlage"
|
||||
onchange={props.onChange}
|
||||
value={props.template}
|
||||
options={templateTypeOptions}
|
||||
value={props.letterOption}
|
||||
options={letterOptionTypes}
|
||||
/>
|
||||
</div>
|
||||
<div className="col-span-3">
|
||||
|
||||
Reference in New Issue
Block a user