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

Add copy error message

This commit is contained in:
Dmitry Lyzo 2022-02-26 00:03:24 +03:00
parent 1f62db7f31
commit fff4ebb3ba
3 changed files with 3 additions and 0 deletions

View file

@ -46,6 +46,7 @@ const attributeDelimiterHtml = layoutManager.tv ? '' : '<span class="hide">: </s
toast(globalize.translate('Copied'));
}).catch(() => {
console.error('Could not copy text');
toast(globalize.translate('CopyFailed'));
});
});
}