mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(frontend): buttonWithDropdown component added (no hookups yet)
This commit is contained in:
@@ -69,8 +69,6 @@ const MovieRequestModal: React.FC<RequestModalProps> = ({
|
||||
|
||||
const activeRequest = data?.mediaInfo?.requests?.[0];
|
||||
|
||||
console.log(activeRequest);
|
||||
|
||||
const cancelRequest = async () => {
|
||||
if (onUpdating) {
|
||||
onUpdating(true);
|
||||
@@ -79,7 +77,7 @@ const MovieRequestModal: React.FC<RequestModalProps> = ({
|
||||
`/api/v1/request/${activeRequest?.id}`
|
||||
);
|
||||
|
||||
if (response.data) {
|
||||
if (response.status === 204) {
|
||||
if (onComplete) {
|
||||
onComplete(MediaStatus.UNKNOWN);
|
||||
}
|
||||
|
Reference in New Issue
Block a user