mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
@@ -49,7 +49,7 @@ namespace Orchard.ContentPicker.Controllers {
|
||||
return HttpNotFound();
|
||||
}
|
||||
|
||||
if (contentPickerMenuItem.Items.All(x => x.Text.ToString() != T("Recent Content").Text)) {
|
||||
if (contentPickerMenuItem.Items.All(x => x.Text.TextHint != "Recent Content")) {
|
||||
// the default tab should not be displayed, redirect to the next one
|
||||
var root = menuItems.FirstOrDefault();
|
||||
if (root == null) {
|
||||
|
Reference in New Issue
Block a user