Skip to content

Commit

Permalink
Put back hiding unit labels when default is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyt857 committed Aug 26, 2023
1 parent 8faec1b commit 158040c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/core/components/individual_sim_ui/apl_helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ export class APLUnitPicker extends UnitPicker<Player<any>> {
sourceToValue: (src: UnitReference|undefined) => APLUnitPicker.refToValue(src, player, targetUI),
valueToSource: (val: UnitValue) => val.value,
values: [],
hideLabelWhenDefaultSelected: true,
});
this.unitSet = config.unitSet;

Expand Down

0 comments on commit 158040c

Please sign in to comment.