diff --git a/web/src/SignupTable.js b/web/src/SignupTable.js index d44df7ad..c59d8a0d 100644 --- a/web/src/SignupTable.js +++ b/web/src/SignupTable.js @@ -151,17 +151,29 @@ class SignupTable extends React.Component { key: 'rule', width: '120px', render: (text, record, index) => { + let options = []; + if (record.name === "ID") { + options = [ + {id: 'Random', name: 'Random'}, + {id: 'Incremental', name: 'Incremental'}, + ]; + } if (record.name === "Display name") { + options = [ + {id: 'None', name: 'None'}, + {id: 'Personal', name: 'Personal'}, + ]; + } + + if (options.length === 0) { + return null; + } + return ( )