add duration as always visible keys
This commit is contained in:
parent
61a63ee565
commit
5ec7b1cf2d
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ def get(request):
|
|||
if 'capability' in k \
|
||||
and not check_capability(k['capability']) \
|
||||
and k['id'] in info \
|
||||
and k['id'] not in ('parts', 'durations'):
|
||||
and k['id'] not in ('parts', 'durations', 'duration'):
|
||||
del info[k['id']]
|
||||
info['editable'] = item.editable(request.user)
|
||||
response['data'] = info
|
||||
|
|
Loading…
Reference in a new issue