Skip to content

Commit

Permalink
make globalid default
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhauck committed Nov 2, 2023
1 parent b38bbc5 commit e90cc8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/crowdsource-manager/crowdsource-manager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ export class CrowdsourceManager {
<layer-table
defaultGlobalId={hasMapAndLayer ? this.defaultGlobalId : ""}
defaultLayerId={hasMapAndLayer ? this.defaultLayer : ""}
defaultOid={hasMapAndLayer ? parseInt(this.defaultOid, 10) : -1}
defaultOid={hasMapAndLayer && !this.defaultGlobalId ? parseInt(this.defaultOid, 10) : undefined}
enableAutoRefresh={this.enableAutoRefresh}
enableCSV={this.enableCSV}
enableInlineEdit={this.enableInlineEdit}
Expand Down

0 comments on commit e90cc8f

Please sign in to comment.