From 1d0f7c7ba787373819c9b45f0a91f773e146a798 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Wed, 25 May 2016 08:36:23 +0200 Subject: [PATCH] Issue 4239: Deprecated attachments are not checked as deprecated --- app/modules/components/attachment/attachment.jade | 1 + 1 file changed, 1 insertion(+) diff --git a/app/modules/components/attachment/attachment.jade b/app/modules/components/attachment/attachment.jade index 8f55672d..ec3b885b 100644 --- a/app/modules/components/attachment/attachment.jade +++ b/app/modules/components/attachment/attachment.jade @@ -37,6 +37,7 @@ form.single-attachment( input( type="checkbox" ng-model="vm.form.is_deprecated" + ng-checked="vm.attachment.getIn(['file', 'is_deprecated'])" name="is-deprecated" id="attach-{{::vm.attachment.getIn(['file', 'id'])}}-is-deprecated" )