[Backport] Issue 4239: Deprecated attachments are not checked as deprecated

stable
Alejandro Alonso 2016-05-25 08:36:23 +02:00 committed by David Barragán Merino
parent d65c56a992
commit 7a4d6b00fd
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ form.single-attachment(
input( input(
type="checkbox" type="checkbox"
ng-model="vm.form.is_deprecated" ng-model="vm.form.is_deprecated"
ng-checked="vm.attachment.getIn(['file', 'is_deprecated'])"
name="is-deprecated" name="is-deprecated"
id="attach-{{::vm.attachment.getIn(['file', 'id'])}}-is-deprecated" id="attach-{{::vm.attachment.getIn(['file', 'id'])}}-is-deprecated"
) )