Skip to content

Commit

Permalink
Split DSF/QART
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster committed Jul 5, 2024
1 parent 30aa35b commit 5a9a5cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {Button} from 'semantic-ui-react';
import {Translate} from 'indico/react/i18n';
import {indicoAxios, handleAxiosError} from 'indico/utils/axios';

export const DIVISIONS = ['Laser', 'Clean Room', 'DSF/QART'];
export const DIVISIONS = ['Laser', 'Clean Room', 'DSF', 'QART'];

export default class BootstrapOptions extends React.Component {
static propTypes = {
Expand Down
2 changes: 1 addition & 1 deletion labotel/indico_labotel/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _process_GET(self):
return jsonify(value=LabotelPlugin.user_settings.get(session.user, 'default_division'))

@use_kwargs({
'value': fields.String(validate=validate.OneOf({'Laser', 'Clean Room', 'DSF/QART'}), allow_none=True)
'value': fields.String(validate=validate.OneOf({'Laser', 'Clean Room', 'DSF', 'QART'}), allow_none=True)
})
def _process_POST(self, value):
from indico_labotel.plugin import LabotelPlugin
Expand Down

0 comments on commit 5a9a5cc

Please sign in to comment.