mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove useless abstractions and hardcoded text for toasts
This commit is contained in:
parent
5d76722a27
commit
3272d12f64
6 changed files with 10 additions and 20 deletions
|
@ -167,10 +167,6 @@ import toast from './toast/toast';
|
|||
});
|
||||
}
|
||||
|
||||
function sendToast(text) {
|
||||
toast(text);
|
||||
}
|
||||
|
||||
function executeAction(card, target, action) {
|
||||
target = target || card;
|
||||
|
||||
|
@ -222,7 +218,7 @@ import toast from './toast/toast';
|
|||
ids: [playableItemId],
|
||||
serverId: serverId
|
||||
});
|
||||
sendToast(globalize.translate('MediaQueued'));
|
||||
toast(globalize.translate('MediaQueued'));
|
||||
} else {
|
||||
playbackManager.queue({
|
||||
ids: [playableItemId],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue