1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-23 22:25:56 -04:00

New: Renamed Blacklist to Blocklist

This commit is contained in:
Robin Dadswell
2021-07-08 23:27:23 +01:00
committed by Mark McDowall
parent 2f6409226a
commit ead1371846
39 changed files with 405 additions and 305 deletions
+4 -4
View File
@@ -364,13 +364,13 @@ export const actionHandlers = handleThunks({
const {
id,
remove,
blacklist
blocklist
} = payload;
dispatch(updateItem({ section: paged, id, isRemoving: true }));
const promise = createAjaxRequest({
url: `/queue/${id}?removeFromClient=${remove}&blacklist=${blacklist}`,
url: `/queue/${id}?removeFromClient=${remove}&blocklist=${blocklist}`,
method: 'DELETE'
}).request;
@@ -387,7 +387,7 @@ export const actionHandlers = handleThunks({
const {
ids,
remove,
blacklist
blocklist
} = payload;
dispatch(batchActions([
@@ -403,7 +403,7 @@ export const actionHandlers = handleThunks({
]));
const promise = createAjaxRequest({
url: `/queue/bulk?removeFromClient=${remove}&blacklist=${blacklist}`,
url: `/queue/bulk?removeFromClient=${remove}&blocklist=${blocklist}`,
method: 'DELETE',
dataType: 'json',
data: JSON.stringify({ ids })