Skip to content

Commit 1f7df8c

Browse files
committed
Fix some frontend issues
1 parent d65d245 commit 1f7df8c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/ExplorerQueryComposer/ExplorerQueryComposer.react.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,8 @@ export default class ExplorerQueryComposer extends React.Component {
565565
className={[styles.headerLabel, styles.textInput].join(' ')}
566566
value={this.state.newName}
567567
onChange={this.handleNameChange.bind(this)}
568-
placeholder={'Give your query a name'} />
568+
placeholder={'Give your query a name'}
569+
autoFocus/>
569570
<a
570571
href='javascript:;'
571572
role='button'

src/dashboard/Analytics/Explorer/Explorer.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ let buildFriendlyName = (query) => {
3737
if (query.groups && query.groups.length > 0) {
3838
name.push('grouped by');
3939
name.push(...query.groups);
40-
name.push('#' + currentCustomQueryIndex++)
40+
name.unshift('#' + currentCustomQueryIndex++)
4141
}
4242
return name.join(' ');
4343
};

0 commit comments

Comments
 (0)