Skip to content

Commit

Permalink
Fix: new dataset not appearing in dropdown menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
lublagg committed Sep 4, 2024
1 parent 729ed74 commit bd2a4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default class App extends Component {
};

const availableContextOptions = availableDataContexts.map((dc: DataContext) =>
<option key={dc.name} value={dc.name}>{dc.title}</option>
<option key={dc.name} value={dc.name}>{dc.title ?? dc.name}</option>
);
const selectedContextOption = selectedDataContext || lastSelectedDataContext || availableDataContexts[0]?.name;

Expand Down

0 comments on commit bd2a4da

Please sign in to comment.