Skip to content

Commit 72a38a5

Browse files
committed
disabled control buttons if remote control is not enabled
1 parent 9f2f3bf commit 72a38a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/app/components/hyperdecks/hyperdecks.html

+5
Original file line numberDiff line numberDiff line change
@@ -49,26 +49,31 @@ <h3>Control</h3>
4949
<div class="btn-group">
5050
<button
5151
class="btn btn-default"
52+
ng-disabled="!hyperdeck.remoteEnabled"
5253
ng-click="vm.sendTransportCommand(hyperdeck._id, 'play: speed: -400')">
5354
<span class="glyphicon glyphicon-backward" aria-hidden="true"></span>
5455
</button>
5556
<button
5657
class="btn btn-default"
58+
ng-disabled="!hyperdeck.remoteEnabled"
5759
ng-click="vm.sendTransportCommand(hyperdeck._id, 'record')">
5860
<span class="glyphicon glyphicon-record" aria-hidden="true"></span>
5961
</button>
6062
<button
6163
class="btn btn-default"
64+
ng-disabled="!hyperdeck.remoteEnabled"
6265
ng-click="vm.sendTransportCommand(hyperdeck._id, 'play')">
6366
<span class="glyphicon glyphicon-play" aria-hidden="true"></span>
6467
</button>
6568
<button
6669
class="btn btn-default"
70+
ng-disabled="!hyperdeck.remoteEnabled"
6771
ng-click="vm.sendTransportCommand(hyperdeck._id, 'play: speed: 400')">
6872
<span class="glyphicon glyphicon-forward" aria-hidden="true"></span>
6973
</button>
7074
<button
7175
class="btn btn-default"
76+
ng-disabled="!hyperdeck.remoteEnabled"
7277
ng-click="vm.sendTransportCommand(hyperdeck._id, 'stop')">
7378
<span class="glyphicon glyphicon-stop" aria-hidden="true"></span>
7479
</button>

0 commit comments

Comments
 (0)