Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: moving session property to the bottom

Ilian Sapundshiev20fcbbed9d1e
diff --git a/src/renderer/components/dialogs/components/ObjectStoreForm.tsx b/src/renderer/components/dialogs/components/ObjectStoreForm.tsx
index a493a0967..4fc890ec2 100644
--- a/src/renderer/components/dialogs/components/ObjectStoreForm.tsx
+++ b/src/renderer/components/dialogs/components/ObjectStoreForm.tsx
@@ -244,20 +244,6 @@ function ObjectStoreForm(props: Props) {
/>
</FormControl>
</Grid>
- <Grid size={12}>
- <FormControl fullWidth={true}>
- <TsTextField
- name="sessionToken"
- data-tid="sessionTokenTID"
- slotProps={{
- input: { autoCorrect: 'off', autoCapitalize: 'none' },
- }}
- onChange={(event) => setSessionToken(event.target.value)}
- value={sessionToken}
- label={t('core:sessionToken')}
- />
- </FormControl>
- </Grid>
<Grid size={12}>
<FormControl fullWidth={true} error={cloudErrorBucketName}>
<TsTextField
@@ -304,6 +290,20 @@ function ObjectStoreForm(props: Props) {
/>
</FormControl>
</Grid>
+ <Grid size={12}>
+ <FormControl fullWidth={true}>
+ <TsTextField
+ name="sessionToken"
+ data-tid="sessionTokenTID"
+ slotProps={{
+ input: { autoCorrect: 'off', autoCapitalize: 'none' },
+ }}
+ onChange={(event) => setSessionToken(event.target.value)}
+ value={sessionToken}
+ label={t('core:sessionToken')}
+ />
+ </FormControl>
+ </Grid>
</Grid>
);
}