mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-09-03 03:50:02 +03:00
Show warning when trying to Identify a metadata-locked item (#8236)
This commit is contained in:
@@ -329,6 +329,13 @@ function showEditor(itemId) {
|
||||
const apiClient = getApiClient();
|
||||
|
||||
apiClient.getItem(apiClient.getCurrentUserId(), itemId).then(item => {
|
||||
if (item.LockData) {
|
||||
loading.hide();
|
||||
toast(globalize.translate('MessageItemMetadataLocked'));
|
||||
currentReject();
|
||||
return;
|
||||
}
|
||||
|
||||
currentItem = item;
|
||||
currentItemType = currentItem.Type;
|
||||
|
||||
|
||||
@@ -1195,6 +1195,7 @@
|
||||
"MessageInvalidUser": "Invalid username or password. Please try again.",
|
||||
"MessageItemsAdded": "Items added.",
|
||||
"MessageItemSaved": "Item saved.",
|
||||
"MessageItemMetadataLocked": "This item's metadata is locked. Unlock it before using the identify feature.",
|
||||
"MessageLeaveEmptyToInherit": "Leave empty to inherit settings from a parent item or the global default value.",
|
||||
"MessageNoItemsAvailable": "No Items are currently available.",
|
||||
"MessageNoFavoritesAvailable": "No favorites are currently available.",
|
||||
|
||||
Reference in New Issue
Block a user