Skip to content

Commit 3343209

Browse files
committed
hide separator when at the end
1 parent ffe7681 commit 3343209

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/notebooks/deepnote/sqlCellStatusBarProvider.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,14 +291,14 @@ export class SqlCellStatusBarProvider implements NotebookCellStatusBarItemProvid
291291
id: DATAFRAME_SQL_INTEGRATION_ID
292292
} as QuickPickItem & { id: string });
293293

294-
// Add separator
295-
items.push({
296-
label: '',
297-
kind: QuickPickItemKind.Separator
298-
});
299-
300-
// Add "Configure current integration" option
294+
// Add "Configure current integration" option (with separator)
301295
if (currentIntegrationId && currentIntegrationId !== DATAFRAME_SQL_INTEGRATION_ID) {
296+
// Add separator
297+
items.push({
298+
label: '',
299+
kind: QuickPickItemKind.Separator
300+
});
301+
302302
items.push({
303303
label: l10n.t('Configure current integration'),
304304
id: '__configure__'

0 commit comments

Comments
 (0)