Skip to content

Commit 668a7f0

Browse files
dananjohnsonzdavis
authored andcommitted
[B] Fix allowDownload field render check
1 parent e6bf493 commit 668a7f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/backend/containers/resource/Properties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class ResourcePropertiesContainer extends PureComponent {
116116
name="attributes[caption]"
117117
placeholder={t("resources.properties.caption_placeholder")}
118118
/>
119-
{resource.downloadableKind ? (
119+
{resource.attributes.downloadableKind ? (
120120
<Form.Switch
121121
label={t("resources.properties.download_label")}
122122
name="attributes[allowDownload]"

0 commit comments

Comments
 (0)