1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix confirm.default calls

This commit is contained in:
Bill Thornton 2020-11-19 17:38:49 -05:00
parent 1f279a9353
commit 955c34ae4e
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ function changeRecordingToSeries(apiClient, timerId, programId, confirmTimerCanc
function cancelTimerWithConfirmation(timerId, serverId) { function cancelTimerWithConfirmation(timerId, serverId) {
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
confirm.default({ confirm({
text: globalize.translate('MessageConfirmRecordingCancellation'), text: globalize.translate('MessageConfirmRecordingCancellation'),
primary: 'delete', primary: 'delete',
@ -50,7 +50,7 @@ function cancelTimerWithConfirmation(timerId, serverId) {
function cancelSeriesTimerWithConfirmation(timerId, serverId) { function cancelSeriesTimerWithConfirmation(timerId, serverId) {
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
confirm.default({ confirm({
text: globalize.translate('MessageConfirmRecordingCancellation'), text: globalize.translate('MessageConfirmRecordingCancellation'),
primary: 'delete', primary: 'delete',

View file

@ -10,7 +10,7 @@ import confirm from '../../../../components/confirm/confirm';
function deletePlugin(page, uniqueid, name) { function deletePlugin(page, uniqueid, name) {
const msg = globalize.translate('UninstallPluginConfirmation', name); const msg = globalize.translate('UninstallPluginConfirmation', name);
confirm.default({ confirm({
title: globalize.translate('HeaderUninstallPlugin'), title: globalize.translate('HeaderUninstallPlugin'),
text: msg, text: msg,
primary: 'delete', primary: 'delete',