Skip to content

Commit

Permalink
Merge pull request #9278 from microsoft/southworks/fix/configure-link…
Browse files Browse the repository at this point in the history
…s-label

fix: [#9204] Listed error gives link with incorrect label "Settings" instead of "Configure"
  • Loading branch information
OEvgeny committed May 18, 2023
2 parents 83102c7 + 1e929fc commit c72cfea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ const DiagnosticIcons = (props: {
{errors.map((item) => {
let linkText = item.source;
if (item.source === 'appsettings.json') {
linkText = 'Fix in bot settings';
linkText = 'Fix in Configure your bot';
}
return (
<div key={item.message} css={diagnosticLink}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class SettingDiagnostic extends DiagnosticInfo {
super(rootProjectId, projectId, id, location, diagnostic);
this.message = `${replaceDialogDiagnosticLabel(diagnostic.path)} ${diagnostic.message}`;
this.dialogPath = diagnostic.path;
this.friendlyLocationBreadcrumbItems = ['Settings'];
this.friendlyLocationBreadcrumbItems = ['Configure'];
}
getUrl = (hash?: string) => {
return createBotSettingUrl(this.rootProjectId, this.projectId, hash);
Expand Down

0 comments on commit c72cfea

Please sign in to comment.