mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
hide nav buttons for non-book notebooks (#6377)
* hide nav buttons for non-book notebooks * updated buttons for all themes * changed foregroundColor to buttonForegroundColor
This commit is contained in:
@@ -693,6 +693,10 @@ export class MainThreadNotebookDocumentsAndEditors extends Disposable implements
|
||||
$registerNavigationProvider(providerId: string, handle: number): void {
|
||||
this._notebookService.registerNavigationProvider({
|
||||
providerId: providerId,
|
||||
hasNavigation: true,
|
||||
getNavigation: async (uri) => {
|
||||
return await this._proxy.$getNavigation(handle, uri);
|
||||
},
|
||||
onNext: async (uri) => {
|
||||
let result = await this._proxy.$getNavigation(handle, uri);
|
||||
if (result) {
|
||||
|
||||
Reference in New Issue
Block a user