Commit f54a618
UoE/datashare: address Copilot review - pass keepEmbargoPolicies through directly
getMoveItemEndpoint already omits keepEmbargoPolicies unless inheriting, so the
component no longer needs the 'inheritPolicies ? keepEmbargoPolicies : true'
conditional - it passes keepEmbargoPolicies straight through. Also reword the
spec comment (keepEmbargoPolicies defaults to true and is only sent when
inheriting).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 9c6d274 commit f54a618
2 files changed
Lines changed: 4 additions & 3 deletions
File tree
- src/app/item-page/edit-item-page/item-move
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
155 | 157 | | |
156 | | - | |
157 | | - | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
0 commit comments