diff --git a/src/components/recordingcreator/recordinghelper.js b/src/components/recordingcreator/recordinghelper.js index 2a7682a4e6..1e999ce35c 100644 --- a/src/components/recordingcreator/recordinghelper.js +++ b/src/components/recordingcreator/recordinghelper.js @@ -32,7 +32,7 @@ function changeRecordingToSeries(apiClient, timerId, programId, confirmTimerCanc function cancelTimerWithConfirmation(timerId, serverId) { return new Promise(function (resolve, reject) { - confirm.default({ + confirm({ text: globalize.translate('MessageConfirmRecordingCancellation'), primary: 'delete', @@ -50,7 +50,7 @@ function cancelTimerWithConfirmation(timerId, serverId) { function cancelSeriesTimerWithConfirmation(timerId, serverId) { return new Promise(function (resolve, reject) { - confirm.default({ + confirm({ text: globalize.translate('MessageConfirmRecordingCancellation'), primary: 'delete', diff --git a/src/controllers/dashboard/plugins/installed/index.js b/src/controllers/dashboard/plugins/installed/index.js index d224268975..226ae0defe 100644 --- a/src/controllers/dashboard/plugins/installed/index.js +++ b/src/controllers/dashboard/plugins/installed/index.js @@ -10,7 +10,7 @@ import confirm from '../../../../components/confirm/confirm'; function deletePlugin(page, uniqueid, name) { const msg = globalize.translate('UninstallPluginConfirmation', name); - confirm.default({ + confirm({ title: globalize.translate('HeaderUninstallPlugin'), text: msg, primary: 'delete',