Skip to content

Commit

Permalink
Show commands available to some of the selected devices above locatio…
Browse files Browse the repository at this point in the history
…n commands
  • Loading branch information
idpaterson committed Feb 29, 2024
1 parent c802fdb commit be4a268
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dashboard/html/modules/piston.module.html
Original file line number Diff line number Diff line change
Expand Up @@ -2140,12 +2140,12 @@ <h3>Add a new task</h3>
<optgroup label="Commands available to all devices" ng-if="designer.commands.common">
<option ng-repeat="command in designer.commands.common" value="{{command.id}}" data-content="<span class='vartype'>{{command.em ? 'emulated' : (command.cm ? 'custom' : 'device')}}</span>{{command.n}}">{{command.n}}</option>
</optgroup>
<optgroup label="Location commands (non-device)">
<option ng-repeat="command in designer.commands.virtual" value="{{command.id}}" data-content="<span class='vartype'>location</span>{{command.n}}">{{command.n}}</option>
</optgroup>
<optgroup label="Commands available to only some devices" ng-if="designer.commands.partial">
<option ng-repeat="command in designer.commands.partial" value="{{command.id}}" data-content="<span class='vartype'>{{command.em ? 'emulated' : (command.cm ? 'custom' : 'device')}}</span>{{command.n}}">{{command.n}}</option>
</optgroup>
<optgroup label="Location commands (non-device)">
<option ng-repeat="command in designer.commands.virtual" value="{{command.id}}" data-content="<span class='vartype'>location</span>{{command.n}}">{{command.n}}</option>
</optgroup>
</select>
</div>
<div ng-repeat="operand in designer.parameters" ng-hide="operand.hidden">
Expand Down

0 comments on commit be4a268

Please sign in to comment.