Skip to content

Commit

Permalink
fix: accept displayProperty of both with and without display prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Apr 23, 2024
1 parent f98a82f commit bfc6bf9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/plugin/src/modules/getRequestOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ export const getRequestOptions = (visualization, filters, userSettings) => {
if (userSettings?.displayProperty) {
switch (userSettings.displayProperty) {
case 'displayShortName':
case 'shortName':
options.displayProperty = 'SHORTNAME'
break
case 'displayName':
case 'name':
options.displayProperty = 'NAME'
break
}
Expand Down

0 comments on commit bfc6bf9

Please sign in to comment.