Fixed error with unnecessary call for context (#496)

pull/3759/head
Yamel Senih 2020-05-15 15:22:21 -04:00 committed by GitHub
parent 8727beefdc
commit 94b034c605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 7 deletions

View File

@ -201,13 +201,15 @@ export function getPreference({
// USER PREFERENCES // USER PREFERENCES
// View Preferences // View Preferences
retValue = getContext({ if (parentUuid && containerUuid) {
parentUuid: 'P' + parentUuid, retValue = getContext({
containerUuid, parentUuid: 'P' + parentUuid,
columnName: columnName containerUuid,
}) columnName: columnName
if (!isEmptyValue(retValue)) { })
return retValue if (!isEmptyValue(retValue)) {
return retValue
}
} }
// Global Preferences // Global Preferences