mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Fix troubleshoot URL lookup (#7978)
This commit is contained in:
@@ -99,7 +99,8 @@ export class BdcDashboardModel {
|
|||||||
* troubleshoot notebook if the service name is unknown.
|
* troubleshoot notebook if the service name is unknown.
|
||||||
* @param service The service name to get the troubleshoot notebook URL for
|
* @param service The service name to get the troubleshoot notebook URL for
|
||||||
*/
|
*/
|
||||||
export function getTroubleshootNotebookUrl(service: string): string {
|
export function getTroubleshootNotebookUrl(service?: string): string {
|
||||||
|
service = service || '';
|
||||||
switch (service.toLowerCase()) {
|
switch (service.toLowerCase()) {
|
||||||
case Service.sql:
|
case Service.sql:
|
||||||
return 'troubleshooters/tsg101-troubleshoot-sql-server';
|
return 'troubleshooters/tsg101-troubleshoot-sql-server';
|
||||||
|
|||||||
Reference in New Issue
Block a user