aboutsummaryrefslogtreecommitdiff
path: root/diplomacy/web
diff options
context:
space:
mode:
authornotoraptor <stevenbocco@gmail.com>2019-08-01 15:46:48 -0400
committerPhilip Paquette <pcpaquette@gmail.com>2019-08-01 16:32:55 -0400
commit2cc8631b0c5e634d32fd5f3870f34e54da143ec3 (patch)
treecf2f6b1cbbaa56023af7cf0d08c301c2ae37c797 /diplomacy/web
parent2595698a80c70b49e3976efed84dd983ac764e5d (diff)
ChoosePower - Powers are sorted by alphabetical order
Diffstat (limited to 'diplomacy/web')
-rw-r--r--diplomacy/web/src/gui/wizards/gameCreation/panelChoosePower.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePower.js b/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePower.js
index dc400bd..05154e6 100644
--- a/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePower.js
+++ b/diplomacy/web/src/gui/wizards/gameCreation/panelChoosePower.js
@@ -5,6 +5,7 @@ import Octicon, {ArrowLeft} from "@primer/octicons-react";
export class PanelChoosePower extends React.Component {
render() {
+ this.props.powers.sort();
return (
<FancyBox title={'Choose your power'} onClose={this.props.cancel}>
<div className="row">