TagSpaces is an offline, open source, document manager with tagging support
prettier fixes
Ilian Sapundshieve95158628793
diff --git a/app/components/Search.tsx b/app/components/Search.tsxindex 35eb8a57d..4de5c7cb3 100644--- a/app/components/Search.tsx+++ b/app/components/Search.tsx@@ -394,13 +394,13 @@ class Search extends React.Component<Props, State> {}}onKeyDown={this.startSearch}title={i18n.t('core:searchWordsWithInterval')}- endAdornment={(+ endAdornment={<InputAdornment position="end"><IconButton onClick={this.clearSearch}><ClearSearchIcon /></IconButton></InputAdornment>- )}+ }/></FormControl><FormControl className={classes.formControl} disabled={indexing}>@@ -423,24 +423,31 @@ class Search extends React.Component<Props, State> {>{i18n.t('folder')}</ToggleButton>- <ToggleButton value="global" title={i18n.t('searchInAllLocations')}>+ <ToggleButton+ value="global"+ title={i18n.t('searchInAllLocations')}+ >{i18n.t('globalSearch')}- <sub style={{ color: 'red'}}>BETA</sub>+ <sub style={{ color: 'red' }}>BETA</sub></ToggleButton></ToggleButtonGroup></FormControl><br />{this.state.searchBoxing === 'global' && (- <FormControlLabel- control={(- <Switch- checked={this.state.forceIndexing}- onChange={() => this.setState(prevState => ({forceIndexing: !prevState.forceIndexing}))}- name="forceIndexing"- />- )}- label="Force reindexing all locations"- />+ <FormControlLabel+ control={+ <Switch+ checked={this.state.forceIndexing}+ onChange={() =>+ this.setState(prevState => ({+ forceIndexing: !prevState.forceIndexing+ }))+ }+ name="forceIndexing"+ />+ }+ label="Force reindexing all locations"+ />)}<FormControl className={classes.formControl} disabled={indexing}><TagsSelectdiff --git a/app/components/TagsSelect.tsx b/app/components/TagsSelect.tsxindex 402015f44..5d1364618 100644--- a/app/components/TagsSelect.tsx+++ b/app/components/TagsSelect.tsx@@ -151,7 +151,7 @@ const TagsSelect = (props: Props) => {tags.splice(i, 1);}}- handleTagChange(event, [...tags], 'remove-value' )+ handleTagChange(event, [...tags], 'remove-value');}}/>))