mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Add metadata lost warning to renaming libraries
This commit is contained in:
parent
9e2d5fb932
commit
d7c8377d71
@ -76,7 +76,8 @@ import cardBuilder from '../../components/cardbuilder/cardBuilder';
|
|||||||
function renameVirtualFolder(page, virtualFolder) {
|
function renameVirtualFolder(page, virtualFolder) {
|
||||||
import('../../components/prompt/prompt').then(({default: prompt}) => {
|
import('../../components/prompt/prompt').then(({default: prompt}) => {
|
||||||
prompt({
|
prompt({
|
||||||
label: globalize.translate('LabelNewName'),
|
title: globalize.translate('LabelNewName'),
|
||||||
|
label: globalize.translate('MessageAreYouSureYouWishToRenameMediaFolder'),
|
||||||
confirmText: globalize.translate('ButtonRename')
|
confirmText: globalize.translate('ButtonRename')
|
||||||
}).then(function (newName) {
|
}).then(function (newName) {
|
||||||
if (newName && newName != virtualFolder.Name) {
|
if (newName && newName != virtualFolder.Name) {
|
||||||
|
Loading…
Reference in New Issue
Block a user