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:
parent
1f279a9353
commit
955c34ae4e
2 changed files with 3 additions and 3 deletions
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue