Only show repeat if data is present
This commit is contained in:
parent
d2bda44411
commit
e8b41b402e
1
.gitignore
vendored
1
.gitignore
vendored
@ -64,3 +64,4 @@ target/
|
||||
#Influx data
|
||||
engine/
|
||||
influxd.bolt
|
||||
influxdb
|
@ -54,7 +54,9 @@
|
||||
</div>
|
||||
</div><br>
|
||||
<input type="submit" value="Go">
|
||||
{% if data %}
|
||||
<a href="{{ url_for('repeat_last_odometer', odometer=data[0]['odometer'] ) }}">Repeat</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</form>
|
||||
<br>
|
||||
|
Loading…
Reference in New Issue
Block a user