mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 01:25:38 -05:00
Introduce Trust Book in Book Viewlet (#9414)
This commit is contained in:
@@ -58,7 +58,7 @@ export class LinkHandlerDirective {
|
||||
// ignore
|
||||
}
|
||||
if (uri && this.openerService && this.isSupportedLink(uri)) {
|
||||
if (uri.fragment && uri.fragment.length > 0 && uri.fsPath === this.workbenchFilePath.fsPath) {
|
||||
if (uri.fragment && uri.fragment.length > 0 && uri.path === this.workbenchFilePath.path) {
|
||||
this.notebookService.navigateTo(this.notebookUri, uri.fragment);
|
||||
} else {
|
||||
this.openerService.open(uri).catch(onUnexpectedError);
|
||||
|
||||
@@ -205,6 +205,9 @@ export class NotebookServiceStub implements INotebookService {
|
||||
get languageMagics(): ILanguageMagic[] {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
setTrusted(notebookUri: URI, isTrusted: boolean): Promise<boolean> {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
registerProvider(providerId: string, provider: INotebookProvider): void {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user