Commit 9771b79
committed
Render fulfillment container only when applicable
Why these changes are being introduced:
The fulfillment link container currently renders
as an empty div when no links are available. This
pollutes the DOM and affects spacing.
Relevant ticket(s):
- [USE-611](https://mitlibraries.atlassian.net/browse/USE-611)
How this addresses that need:
This removes the parent div if no fulfillment links
are present.
Side effects of this change:
None.1 parent 55cf25a commit 9771b79
1 file changed
Lines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
0 commit comments