Skip to content

Commit ef1dbc1

Browse files
committed
fix(item-details): Ensure "Extend" is beside disposition date in sidebar
1 parent 26d516d commit ef1dbc1

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/features/item-details/ItemProperties.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060

6161
.bdl-RetentionLink {
6262
margin-left: 4px;
63+
display: inline;
6364
}
6465

6566
button {

src/features/item-details/__tests__/ItemProperties.test.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,17 @@ describe('features/item-details/ItemProperties', () => {
7474

7575
expect(wrapper).toMatchSnapshot();
7676
});
77+
78+
test('should render retention policy details when specified', () => {
79+
const wrapper = getWrapper({
80+
retentionPolicyProps: {
81+
dispositionTime: 1741475146,
82+
openModal: () => {},
83+
policyType: 'finite',
84+
retentionPolicyDescription: 'Test Description',
85+
},
86+
});
87+
88+
expect(wrapper).toMatchSnapshot();
89+
});
7790
});

0 commit comments

Comments
 (0)