Skip to content

Commit

Permalink
Fix Twitter module breaking the Workflows editor (OrchardCMS#16350)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Jun 20, 2024
1 parent 9d79ab5 commit 1b095d8
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public override async Task<IDisplayResult> EditAsync(TwitterSettings settings, B
return null;
}

return Initialize<TwitterSettingsViewModel>("XSettings_Edit", model =>
return Initialize<TwitterSettingsViewModel>("TwitterSettings_Edit", model =>
{
model.APIKey = settings.ConsumerKey;
if (!string.IsNullOrWhiteSpace(settings.ConsumerSecret))
Expand Down
4 changes: 2 additions & 2 deletions src/OrchardCore.Modules/OrchardCore.Twitter/Manifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

[assembly: Feature(
Id = TwitterConstants.Features.Twitter,
Name = "X Integration",
Name = "X (Twitter) Integration",
Category = "X",
Description = "Provides a TwitterClient and Workflow Activities to integrate with X"
)]

[assembly: Feature(
Id = TwitterConstants.Features.Signin,
Name = "Sign in with X",
Name = "Sign in with X (Twitter)",
Category = "X",
Description = "Authenticates users with their X Account.",
Dependencies = [TwitterConstants.Features.Twitter]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public override async Task<IDisplayResult> EditAsync(TwitterSigninSettings setti
return null;
}

return Initialize<TwitterSigninSettingsViewModel>("XSigninSettings_Edit", model =>
return Initialize<TwitterSigninSettingsViewModel>("TwitterSigninSettings_Edit", model =>
{
if (settings.CallbackPath.HasValue)
{
Expand Down

0 comments on commit 1b095d8

Please sign in to comment.