mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Fix a bug when trying to uncheck boxes of apps (id key does not exists)
This commit is contained in:
parent
c9a9658279
commit
e28bc61563
1 changed files with 3 additions and 3 deletions
|
@ -43,9 +43,9 @@
|
|||
{{/each}}
|
||||
{{#each apps}}
|
||||
<div class="list-group-item">
|
||||
<input type="checkbox" id="{{id}}" name="apps" value="{{id}}" checked class="nice-checkbox">
|
||||
<label for="{{id}}" class="pull-right"><span class="sr-only">{{t 'check'}}</span></label>
|
||||
<h2 class="list-group-item-heading">{{name}} <small>{{id}}</small></h2>
|
||||
<input type="checkbox" id="{{@key}}" name="apps" value="{{@key}}" checked class="nice-checkbox">
|
||||
<label for="{{@key}}" class="pull-right"><span class="sr-only">{{t 'check'}}</span></label>
|
||||
<h2 class="list-group-item-heading">{{name}} <small>{{@key}}</small></h2>
|
||||
</div>
|
||||
{{/each}}
|
||||
<div class="list-group-item clearfix">
|
||||
|
|
Loading…
Add table
Reference in a new issue