Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Commit 8b2b1c4

Browse files
author
KrzysztofPajak
committed
Further changes with ignoring language limitation
1 parent 7675710 commit 8b2b1c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Grand.Services/Localization/LanguageService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public virtual async Task<IList<Language>> GetAllLanguages(bool showHidden = fal
133133
if (!string.IsNullOrWhiteSpace(storeId))
134134
{
135135
languages = languages
136-
.Where(l => l.Stores.Contains(storeId))
136+
.Where(l => l.Stores.Contains(storeId) || !l.LimitedToStores)
137137
.ToList();
138138
}
139139
return languages;

0 commit comments

Comments
 (0)