mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
Time Offset Widget: fix label #208
This commit is contained in:
parent
cf05ab9564
commit
04ebd23d8f
1 changed files with 2 additions and 1 deletions
|
@ -49,6 +49,7 @@ class WidgetTimeOffset extends Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
let bottomText = this.props.widget.customProperties.icID !== -1 ? "" : "selected";
|
||||
return (
|
||||
<div className="time-offset">
|
||||
{this.props.widget.customProperties.icID !== -1 ?
|
||||
|
@ -63,7 +64,7 @@ class WidgetTimeOffset extends Component {
|
|||
(
|
||||
<span>{this.state.timeOffset}s</span>)
|
||||
:
|
||||
(<span>selected</span>)
|
||||
(<span>{bottomText}</span>)
|
||||
}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue