mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Indexer not removed in UI when deleted
Indexer doesn't get removed because createAjaxReqest expects JSON type return, however after net6 provider delete event returns text/html type.
This commit is contained in:
@@ -14,6 +14,7 @@ function createRemoveItemHandler(section, url) {
|
|||||||
|
|
||||||
const ajaxOptions = {
|
const ajaxOptions = {
|
||||||
url: `${url}/${id}?${$.param(queryParams, true)}`,
|
url: `${url}/${id}?${$.param(queryParams, true)}`,
|
||||||
|
dataType: 'text',
|
||||||
method: 'DELETE'
|
method: 'DELETE'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user