Fixed error with unnecessary call for context (#496)
parent
8727beefdc
commit
94b034c605
|
@ -201,13 +201,15 @@ export function getPreference({
|
|||
|
||||
// USER PREFERENCES
|
||||
// View Preferences
|
||||
retValue = getContext({
|
||||
parentUuid: 'P' + parentUuid,
|
||||
containerUuid,
|
||||
columnName: columnName
|
||||
})
|
||||
if (!isEmptyValue(retValue)) {
|
||||
return retValue
|
||||
if (parentUuid && containerUuid) {
|
||||
retValue = getContext({
|
||||
parentUuid: 'P' + parentUuid,
|
||||
containerUuid,
|
||||
columnName: columnName
|
||||
})
|
||||
if (!isEmptyValue(retValue)) {
|
||||
return retValue
|
||||
}
|
||||
}
|
||||
|
||||
// Global Preferences
|
||||
|
|
Loading…
Reference in New Issue