Skip to content

Commit 70c6bb0

Browse files
authored
Merge pull request #6698 from nursoltan-s/timeline-wall-final-fix
fix reject api call
2 parents 2b671a5 + 97f26b5 commit 70c6bb0

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

src/shared/containers/timeline-wall/timeline-events/right-filter/styles.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,24 @@
5050
display: flex;
5151
flex-direction: column;
5252
width: 120px;
53-
border-radius: 8px;
53+
border-top-left-radius: 8px;
54+
border-bottom-left-radius: 8px;
5455
padding: 10px 0;
5556
position: fixed;
5657
right: 0;
58+
left: 1374px;
5759
max-height: 70%;
5860
overflow: scroll;
61+
-ms-overflow-style: none; /* Internet Explorer 10+ */
62+
scrollbar-width: none; /* Firefox */
63+
64+
&::-webkit-scrollbar {
65+
display: none; /* Safari and Chrome */
66+
}
67+
68+
@media (max-width: 1500px) {
69+
left: unset;
70+
}
5971

6072
@media (max-width: 768px) {
6173
border-radius: 0;

src/shared/services/timelineWall.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ export const rejectEventById = async (tokenV3, id, body, successFn) => {
182182
try {
183183
fetch(`${baseUrl}/timelineEvents/${id}/reject`, {
184184
method: 'PUT',
185-
headers: { Authorization: `Bearer ${tokenV3}` },
185+
headers: {
186+
Authorization: `Bearer ${tokenV3}`,
187+
'Content-Type': 'application/json; charset=utf-8',
188+
},
186189
body: JSON.stringify(body),
187190
}).then(() => {
188191
successFn();

0 commit comments

Comments
 (0)