Skip to content
Snippets Groups Projects
Unverified Commit 36858fbb authored by Samuel Couillard's avatar Samuel Couillard Committed by GitHub
Browse files

Fix RecordingsList propTypes and layout (#4641)

* Fix layout, fix PropTypes for Recording refactoring PR

* esf

* Add margin to Search Box
parent 5d011087
Branches
Tags
No related merge requests found
...@@ -49,6 +49,14 @@ ...@@ -49,6 +49,14 @@
} }
} }
#user-recordings {
padding-top: 0 !important;
.search-bar {
margin-top: 3rem;
}
}
.recordings-list { .recordings-list {
.recording-icon-circle { .recording-icon-circle {
min-width: 40px; min-width: 40px;
......
...@@ -77,7 +77,9 @@ export default function RecordingsList({ ...@@ -77,7 +77,9 @@ export default function RecordingsList({
} }
RecordingsList.defaultProps = { RecordingsList.defaultProps = {
recordings: { data: [], meta: { page: 1, pages: 1 } },
recordingsProcessing: 0, recordingsProcessing: 0,
searchInput: '',
}; };
RecordingsList.propTypes = { RecordingsList.propTypes = {
...@@ -97,10 +99,10 @@ RecordingsList.propTypes = { ...@@ -97,10 +99,10 @@ RecordingsList.propTypes = {
page: PropTypes.number, page: PropTypes.number,
pages: PropTypes.number, pages: PropTypes.number,
}), }),
}).isRequired, }),
isLoading: PropTypes.bool.isRequired, isLoading: PropTypes.bool.isRequired,
setPage: PropTypes.func.isRequired, setPage: PropTypes.func.isRequired,
searchInput: PropTypes.string.isRequired, searchInput: PropTypes.string,
setSearchInput: PropTypes.func.isRequired, setSearchInput: PropTypes.func.isRequired,
recordingsProcessing: PropTypes.number, recordingsProcessing: PropTypes.number,
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment