1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-16 00:00:03 +01:00

Show name of IC on config edit instead of UUID

This commit is contained in:
Sonja Happ 2020-04-06 16:48:59 +02:00
parent 9f6ee37720
commit 0f84c7197e

View file

@ -17,8 +17,6 @@
import React from 'react';
import {FormGroup, FormControl, FormLabel} from 'react-bootstrap';
import _ from 'lodash';
import Dialog from '../common/dialogs/dialog';
import ParametersEditor from '../common/parameters-editor';
import SelectFile from "../file/select-file";
@ -104,7 +102,7 @@ class EditConfigDialog extends React.Component {
render() {
const ICOptions = this.props.ics.map(s =>
<option key={s.id} value={s.id}>{_.get(s, 'properties.name') || _.get(s, 'rawProperties.name') || s.uuid}</option>
<option key={s.id} value={s.id}>{s.name}</option>
);
return (