Cosmetics
This commit is contained in:
1 parent
a6b5be4f11
commit
102a2feddc
4 files changed
+29
-33
No files matched your search
@@ -6,10 +6,11 @@ import dispatch from '../../workers/dispatcher-main';
|
||||
interface Props {
|
||||
gpxId: () => string;
|
||||
setGpxId: (id: string) => void;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
const GpxChooser: Component<Props> = (props: Props) => {
|
||||
const { gpxId, setGpxId } = props;
|
||||
const { gpxId, setGpxId, disabled } = props;
|
||||
|
||||
const [t] = useI18n();
|
||||
|
||||
@@ -36,7 +37,7 @@ const GpxChooser: Component<Props> = (props: Props) => {
|
||||
};
|
||||
|
||||
return (
|
||||
<FormControl>
|
||||
<FormControl disabled={disabled}>
|
||||
<InputLabel variant='normal' htmlFor='gpx-chooser'>
|
||||
{t('gpxChooser')}
|
||||
</InputLabel>
|
||||
|
||||
Reference in new issue
Block a user