Web:Client:Fixed so that the locale argument is not passed when it is null.
This commit is contained in:
parent
ea96d31b6b
commit
2863638eb2
@ -239,10 +239,10 @@ class OformsStore {
|
||||
|
||||
const url = combineUrl(uploadDomain, uploadDashboard, `/${categoryTypeId}`);
|
||||
|
||||
const categories = await getCategoriesOfCategoryType(
|
||||
url,
|
||||
this.oformsFilter.locale
|
||||
);
|
||||
const categories = !!this.oformsFilter.locale
|
||||
? await getCategoriesOfCategoryType(url, this.oformsFilter.locale)
|
||||
: await getCategoriesOfCategoryType(url);
|
||||
|
||||
return categories;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user